IsSneakingControlsEnabled - Game

Member of: Game Script

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

SyntaxEdit

bool Function IsSneakingControlsEnabled() native global

ParametersEdit

None.

Return ValueEdit

If the sneaking controls are currently enabled or not.

ExamplesEdit

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

See AlsoEdit