arobras Posted March 25, 2011 Share Posted March 25, 2011 Is anyone else having problems with the disableplayercontrols function? Whenever i disable 3rd person view i am still able to use them ingame. I know how to use the function well, it just seems to not be working, even in the simplest of scripts. Link to comment Share on other sites More sharing options...
viking99 Posted March 25, 2011 Share Posted March 25, 2011 I just used that function in a script and it worked just fine. There are seven different controls to be disabled a 1 means they are disabled and a 0 means they are not. the geck webpage describes them all. http://geck.bethsoft.com/index.php/GetPlayerControlsDisabled hope this helps. Link to comment Share on other sites More sharing options...
davidlallen Posted March 25, 2011 Share Posted March 25, 2011 The syntax of the function is: DisablePlayerControls MovementFlag (0/1) (optional), PipboyFlag (0/1) (optional), FightingFlag (0/1) (optional), POVFlag (0/1) (optional), LookingFlag (0/1) (optional), RolloverTextFlag (0/1) (optional), SneakingFlag (0/1) (optional) So you can disable switching between 3rd person and 1st person POV independently of the other controls. Did you expect that disabling POV switching would disable all controls? Link to comment Share on other sites More sharing options...
arobras Posted March 25, 2011 Author Share Posted March 25, 2011 I knew that disabling pov switching would not disable the other controls, I tested it by disabling all of the controls ( disableplayerControls 1111111) and the pov was still able to switch, that's why i was asking. I looked into other scripts within the game and found out the solution. Apparently you have to both disable the controls that you don't want, and enable the ones that you do in the same block of code. Link to comment Share on other sites More sharing options...
Recommended Posts