EnableVATS - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 09:56, 14 October 2013 by imported>RobinHood70 (Created page with "Category:Scripting Category:Papyrus '''Member of:''' InputEnableLayer Script Enables or disables the player's ability to use VATS on this layer. == Syntax == <sourc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: InputEnableLayer Script

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

Syntax[edit | edit source]

Function EnableVATS(abEnable = true) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Enable VATS
myLayer.EnableVATS()


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

See Also[edit | edit source]