EnableJumping - 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 Enables or disables the player's ability to jump on this layer. == Syntax == <source...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: InputEnableLayer Script

Enables or disables the player's ability to jump on this layer.

Syntax[edit | edit source]

Function EnableJumping(bool abEnable = true) native

Parameters[edit | edit source]

  • abEnable: If true, enables jumping. Otherwise disables it.
    • Default: True

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Enable jumping
myLayer.EnableJumping()


; Disable jumping
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.DisableJumping(false)

Notes[edit | edit source]

Enabling/disabling movement will also enable/disable jumping.

See Also[edit | edit source]