IsVATSEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: InputEnableLayer Script

Checks to see if VATS is currently enabled on this layer or not.

Syntax[edit | edit source]

bool Function IsVATSEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the VATS on this layer are currently enabled or not.

Examples[edit | edit source]

; Is VATS enabled on this layer?
if myLayer.IsVATSEnabled()
  Debug.Trace("Player can use VATS (assuming no one else is blocking it)!")
endIf

See Also[edit | edit source]