IsSneakingEnabled - InputEnableLayer
Revision as of 16:47, 12 February 2013 by imported>Plplecuyer (→Syntax)
Member of: InputEnableLayer Script
Checks to see if sneaking controls are currently enabled on this layer or not.
SyntaxEdit
bool Function IsSneakingEnabled() native
ParametersEdit
None.
Return ValueEdit
If the sneaking controls are currently enabled on this layer or not.
ExamplesEdit
; Is this layer allowing sneaking?
if myLayer.IsSneakingEnabled()
Debug.Trace("Player can sneak around (assuming no one else is blocking)!")
endIf
See AlsoEdit
- InputEnableLayer Script
- IsActivateEnabled - InputEnableLayer
- IsCamSwitchEnabled - InputEnableLayer
- IsFastTravelEnabled - InputEnableLayer
- IsFightingEnabled - InputEnableLayer
- IsJournalEnabled - InputEnableLayer
- IsLookingEnabled - InputEnableLayer
- IsMenuEnabled - InputEnableLayer
- IsMovementEnabled - InputEnableLayer