EnableJumping - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

Function EnableJumping(bool abEnable = true) native

Parameters

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

Return Value

None.

Examples

; Enable jumping
myLayer.EnableJumping()


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

Notes

Enabling/disabling movement will also enable/disable jumping.

See Also