IsSneakingControlsEnabled - Game

From the CreationKit Wiki
Revision as of 19:41, 2 August 2011 by imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Game Script Checks to see if sneaking controls are currently enabled or not. == Syntax == <source lang="papyrus…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Checks to see if sneaking controls are currently enabled or not.

Syntax[edit | edit source]

bool Function IsSneakingControlsEnabled() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the sneaking controls are currently enabled or not.

Examples[edit | edit source]

; Can the player sneak around?
if Game.IsSneakingControlsEnabled()
  Debug.Trace("Player can sneak around!")
endIf

See Also[edit | edit source]