Difference between revisions of "IsEnabled - ObjectReference"
Jump to navigation
Jump to search
imported>Plplecuyer |
imported>Goggle m (isDisabled() under the hood.) |
||
Line 23: | Line 23: | ||
endIf | endIf | ||
</source> | </source> | ||
== Note == | |||
* This is basically [[isDisabled - ObjectReference | isDisabled]] under the hood. So it's faster to call that instead. | |||
== See Also == | == See Also == |
Latest revision as of 12:28, 25 August 2016
Member of: ObjectReference Script
Checks to see if this object is currently enabled. (The opposite of IsDisabled)
Syntax[edit | edit source]
bool Function IsEnabled()
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
If this object is currently enabled.
Examples[edit | edit source]
; Is the shield enabled?
if (ShieldProperty.IsEnabled())
Debug.Trace("The shield is up!")
endIf
Note[edit | edit source]
- This is basically isDisabled under the hood. So it's faster to call that instead.