IsDisabled - ObjectReference

Member of: ObjectReference Script

Checks to see if this object is currently disabled.

SyntaxEdit

bool Function IsDisabled() native

ParametersEdit

None.

Return ValueEdit

If this object is currently disabled.

ExamplesEdit

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

NotesEdit

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

See AlsoEdit