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[edit | edit source]

bool Function IsDisabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this object is currently disabled.

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]