IsCamSwitchEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: InputEnableLayer Script

Checks to see if camera switch controls are currently enabled on this layer or not.

Syntax[edit | edit source]

bool Function IsCamSwitchEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the camera switch controls are currently enabled on this layer or not.

Examples[edit | edit source]

; Are the camera switch controls enabled on this layer?
if myLayer.IsCamSwitchEnabled()
  Debug.Trace("Player can switch cameras (assuming no one else is blocking)!")
endIf

See Also[edit | edit source]