IsJumpingEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 09:18, 7 July 2016 by imported>Hannibalektr (Created page with "Category:Scripting Category:Papyrus '''Member of:''' InputEnableLayer Script Checks to see if jumping controls are currently enabled on this layer or not. == Syn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: InputEnableLayer Script

Checks to see if jumping controls are currently enabled on this layer or not.

Syntax[edit | edit source]

bool Function IsJumpingEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the jumping controls are currently enabled on this layer or not.

Examples[edit | edit source]

; Is the layer allowing jumping?
if myLayer.IsJumpingEnabled()
  Debug.Trace("Player can jump (if no one else is blocking)!")
endIf

Notes[edit | edit source]

Enabling/disabling movement will also enable/disable jumping.

See Also[edit | edit source]