EnableActivate - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 17:50, 12 February 2013 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' InputEnableLayer Script Enables or disables the player's ability to activate items on this layer. == Syntax == ...")
(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 activate items on this layer.

Syntax

Function EnableActivate(abEnable = true) native

Parameters

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

Return Value

None.

Examples

; Enable activation
myLayer.EnableActivate()


; Disable activation
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableActivation(false)

See Also