IsEnabled - ObjectReference
Revision as of 12:28, 25 August 2016 by imported>Goggle (isDisabled() under the hood.)
Member of: ObjectReference Script
Checks to see if this object is currently enabled. (The opposite of IsDisabled)
Syntax
bool Function IsEnabled()
Parameters
None.
Return Value
If this object is currently enabled.
Examples
; Is the shield enabled?
if (ShieldProperty.IsEnabled())
Debug.Trace("The shield is up!")
endIf
Note
- This is basically isDisabled under the hood. So it's faster to call that instead.