IsDisabled - ObjectReference

From the CreationKit Wiki
Revision as of 09:31, 7 October 2012 by imported>JustinOther (Noted '!IsDisabled()' is slightly faster thanIsEnabled /Linked IsEnabled)
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 is faster than IsEnabled.

See Also