EnableVATS - InputEnableLayer

From Creation Kit
Jump to: navigation, search

Member of: InputEnableLayer Script

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

Syntax

Function EnableVATS(abEnable = true) native

Parameters

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

Return Value

None.

Examples

; Enable VATS
myLayer.EnableVATS()


; Disable VATs
InputEnableLayer myLayer = InputEnableLayer.Create()
myLayer.EnableVATS(false)

See Also