EnableFighting - InputEnableLayer
Member of: InputEnableLayer Script
Enables or disables the player's ability to fight on this layer.
SyntaxEdit
Function EnableFighting(abEnable = true) native
ParametersEdit
- abEnable: If true, enables the player's fighting controls. Otherwise disables it.
- Default: True
Return ValueEdit
None.
ExamplesEdit
; Enable fighting
myLayer.EnableFighting()
; Disable fighting
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableFighting(false)