IsMovementEnabled - InputEnableLayer
Revision as of 16:47, 12 February 2013 by imported>Plplecuyer (→Syntax)
Member of: InputEnableLayer Script
Checks to see if movement controls are currently enabled on this layer or not.
Syntax[edit | edit source]
bool Function IsMovementEnabled() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
If the movement controls are currently enabled on this layer or not.
Examples[edit | edit source]
; Is movement allowed by this layer?
if myLayer.IsMovementEnabled()
Debug.Trace("Player can move (assuming no one else is blocking)!")
endIf
See Also[edit | edit source]
- InputEnableLayer Script
- IsActivateEnabled - InputEnableLayer
- IsCamSwitchEnabled - InputEnableLayer
- IsFastTravelEnabled - InputEnableLayer
- IsFightingEnabled - InputEnableLayer
- IsJournalEnabled - InputEnableLayer
- IsLookingEnabled - InputEnableLayer
- IsMenuEnabled - InputEnableLayer
- IsSneakingEnabled - InputEnableLayer