IsDisabled - ObjectReference

From the CreationKit Wiki
Revision as of 11:57, 5 October 2013 by imported>VikMorroHun (→‎Notes: corrected typo)
(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 disabled.

Syntax

bool Function IsDisabled() native

Parameters

None.

Return Value

If this object is currently disabled.

Examples

; Is the shield disabled?
if (ShieldProperty.IsDisabled())
  Debug.Trace("The shield is down!")
endIf

Notes

  • 'IsDisabled()' is slightly faster than IsEnabled.

See Also