IsLookingEnabled - InputEnableLayer

From the Fallout4 CreationKit Wiki
Revision as of 17:47, 12 February 2013 by imported>Plplecuyer (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: InputEnableLayer Script

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

Syntax[edit | edit source]

bool Function IsLookingEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

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

Examples[edit | edit source]

; Is this layer disabling looking?
if myLayer.IsLookingEnabled()
  Debug.Trace("Player can look around (assuming no one else is blocking)!")
endIf

See Also[edit | edit source]