Mod:Creation Kit/EnableFighting - InputEnableLayer

Member of: Mod:Creation Kit/InputEnableLayer Script

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

Syntax
Function EnableFighting(abEnable = true) native

Parameters

 * abEnable: If true, enables the player's fighting controls. Otherwise disables it.
 * Default: True

Return Value
None.

Examples
myLayer.EnableFighting InputEnableLayer myLayer = InputEnableLayer.Create myLayer.EnableFighting(false)
 * Enable fighting
 * Disable fighting