Difference between revisions of "EnableMenu - InputEnableLayer"

m
→‎Examples: fixed careless errors
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...")
 
imported>Docclox
m (→‎Examples: fixed careless errors)
 
Line 20: Line 20:
<source lang="papyrus">
<source lang="papyrus">
; Enable menu
; Enable menu
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMenu()
myLayer.EnableMenu()
</source>
</source>
<br/>
<br/>
<source lang="papyrus">
<source lang="papyrus">
; Disable activation
; Disable menu
InputEnableLayer myLayer = InputEnableLayer.Create()
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableMenu(false)
myLayer.EnableMenu(false)
Anonymous user