Difference between revisions of "DisablePlayerControls"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Ez0n3
imported>Prideslayer
m (TESCK wiki link is worthless for this command)
 
Line 1: Line 1:
{{Function
{{Function
|CSWikiPage = DisablePlayerControls
  |origin = GECK1
  |origin = GECK1
  |summary = '''DisablePlayerControls''' disables some or all of the player's controls.
  |summary = '''DisablePlayerControls''' disables some or all of the player's controls.

Latest revision as of 22:20, 7 October 2012

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

DisablePlayerControls disables some or all of the player's controls.

Default (no parameters) is equivalent to:

DisablePlayerControls 1 1 1 1 0 0 0  ; Looking, Rollover Text, and Sneaking are still enabled

Syntax

[help]
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)

Example

DisablePlayerControls

Player's controls are disabled, except for Looking.

DisablePlayerControls 0 0 1 0 0

Player's ability to equip or use a weapon is disabled; all other controls are unaffected.

Flag Definitions

MovementFlag
Player movement is disabled. Activation of world objects is disabled. HUD is partially disabled: Action Points, Health, Crosshair.
PipBoyFlag
Player cannot bring up the pip-boy interface. The "Wait" menu will also be disabled.
FightingFlag
Player cannot bring up a weapon. If the player currently has a weapon out, the weapon will be holstered.
POVFlag
Player cannot go into 3rd person view. If currently in 3rd person, the view is forced into first person.
LookingFlag
Player looking is disabled -- the player's view is locked into its current position.
RolloverTextFlag
No rollover text on world objects.
SneakingFlag
Player cannot go into sneak mode. If currently sneaking, forces you out of sneak mode.

Notes

  • This function replaces ForcePlayerTo1stPerson.

See Also