Jump to content

DisablePlayerControls Glitch


arobras

Recommended Posts

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...