EnableZKey - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 13:49, 5 December 2014 by imported>RobinHood70 (Created page with "Category:Scripting Category:Papyrus '''Member of:''' InputEnableLayer Script Enables or disables the player's ability to z-key on this layer. == Syntax == <source l...")
(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 z-key on this layer.

Syntax[edit | edit source]

Function EnableZKey(abEnable = true) native

Parameters[edit | edit source]

  • abEnable: If true, enables z-key. Otherwise disables it.
    • Default: True

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Enable z-key
myLayer.EnableZKey()


; Disable z-key
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableZKey(false)

See Also[edit | edit source]