Difference between revisions of "GetPlayerControlsDisabled"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Sein schatten
imported>Scrivener07
m (spelling)
Line 7: Line 7:
*Looking
*Looking
*Sneaking
*Sneaking
*Menue
*Menu
*Activate
*Activate
*PlayerControls::bDisablePOVChange[Script]
*PlayerControls::bDisablePOVChange[Script]

Revision as of 08:37, 16 April 2018

Description

GetPlayerControlsDisabled returns a list of values for the following:

  • Movement
  • Fighting
  • POV Switch
  • Looking
  • Sneaking
  • Menu
  • Activate
  • PlayerControls::bDisablePOVChange[Script]
  • PlayerControls::bDisablePOVChange[Werewolf]
  • PlayerControls::bActivationDisabled
  • JournalMenu::bTabsDisabled

Syntax

GetPlayerControlsDisabled


Examples

GetPlayerControlsDisabled 1 0 0 0 0 0 0 0 0 0

Returns 1 if player's Movement is currently disabled.

Notes

  • Default (no parameters) is equivalent to:
    GetPlayerControlsDisabled 1 1 1 1 1 1 1  ; Return true if any controls are currently disabled.

    The function returns true if ANY of the specified controls are currently disabled (see examples).

See Also

EnablePlayerControls
DisablePlayerControls