EnableFighting - InputEnableLayer
Revision as of 17:52, 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 fight on this layer. == Syntax == <source l...")
Member of: InputEnableLayer Script
Enables or disables the player's ability to fight on this layer.
Syntax[edit | edit source]
Function EnableFighting(abEnable = true) native
Parameters[edit | edit source]
- abEnable: If true, enables the player's fighting controls. Otherwise disables it.
- Default: True
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Enable fighting
myLayer.EnableFighting()
; Disable fighting
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableFighting(false)