IsDisabled - ObjectReference
Revision as of 11:57, 5 October 2013 by imported>VikMorroHun (→Notes: corrected typo)
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.