IsSneakingControlsEnabled - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

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

Syntax

bool Function IsSneakingControlsEnabled() native global

Parameters

None.

Return Value

If the sneaking controls are currently enabled or not.

Examples

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

See Also