IsEnabled - ObjectReference

Revision as of 13:28, 25 August 2016 by imported>Goggle (isDisabled() under the hood.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Checks to see if this object is currently enabled. (The opposite of IsDisabled)

SyntaxEdit

bool Function IsEnabled()

ParametersEdit

None.

Return ValueEdit

If this object is currently enabled.

ExamplesEdit

; Is the shield enabled?
if (ShieldProperty.IsEnabled())
  Debug.Trace("The shield is up!")
endIf

NoteEdit

  • This is basically isDisabled under the hood. So it's faster to call that instead.

See AlsoEdit