What do I name it so that it ONLY targets FirstPerson view?
It doesn't matter what you name it.
datablock PlayerData(PlayerTestArmor : PlayerStandardArmor){ minJetEnergy = 0; jetEnergyDrain = 0; canJet = 0; cameramaxdist = 15; cameramindist = 0; maxlookangle = 0; cameratilt = 1; maxlookangle = 100; minlookangle = 0; cameraMaxFov = 90; thirdpersononly = 1; jumpForce = 0 * 0; cameraVerticalOffset = 6; cameraHorizontalOffset = 0; maxlookangle = 0; minlookangle = 0; uiName = "Test Player"; showEnergyBar = false;};
But I want to that specific datablock to target FIRSTPERSON only, I want to to IGNORE the other datablock.
See, I want to be able to move the camera up and down in first person, but I DON'T want to be able to move the camera in thirdperson..
Ok, how would I go about naming those two different datablocks?
I tried:datablock Playerdata::FirstPerson(TopDownArmor : PlayerStandardArmor){ maxlookangle = 10; minlookangle = 0;};
how do I register the fact that When I Right Click , it goes to first person?
I'm creating a PlayerType with two different datablocks instead of the default one.