Difference between revisions of "GetPlayerControlsDisabled"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: = for '''=)
 
imported>Sein schatten
Line 20: Line 20:


==Examples==
==Examples==
 
GetPlayerControlsDisabled 1 0 0 0 0 0 0 0 0 0
Returns 1 if player's Movement is currently disabled.


==Notes==
==Notes==
 
<ul>
<li>Default (no parameters) is equivalent to:
<pre>GetPlayerControlsDisabled 1 1 1 1 1 1 1  ; Return true if any controls are currently disabled.</pre>
The function returns true if ANY of the specified controls are currently disabled (see examples).
</li>
</ul>


==See Also==
==See Also==

Revision as of 04:49, 13 April 2018

Description

GetPlayerControlsDisabled returns a list of values for the following:

  • Movement
  • Fighting
  • POV Switch
  • Looking
  • Sneaking
  • Menue
  • 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