This wiki is a copy of the original Skyrim CK wiki created and maintained by the UESP.net. See CreationKit:Copy Notice for more info.

Difference between revisions of "EnableMenu - InputEnableLayer"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
(Created page with "Category:Scripting Category:Papyrus '''Member of:''' InputEnableLayer Script Enables or disables the player's ability to use the menu on this layer. == Syntax == <s...")
(No difference)

Revision as of 17:54, 12 February 2013

Member of: InputEnableLayer Script

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

Syntax

Function EnableMenu(abEnable = true) native

Parameters

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

Return Value

None.

Examples

; Enable menu
myLayer.EnableMenu()


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

See Also