IsEnabled - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 16:19, 24 October 2011 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks to see if this object is currently enabled. (The opposite of IsDisabled)

Syntax

bool Function IsEnabled()

Parameters

None.

Return Value

If this object is currently enabled.

Examples

; Is the shield enabled?
if (ShieldProperty.IsEnabled())
  Debug.Trace("The shield is up!")
endIf

See Also