IsDestroyed - ObjectReference

Member of: ObjectReference Script

Checks to see if this object is currently destroyed.

SyntaxEdit

bool Function IsDestroyed() native

ParametersEdit

None.

Return ValueEdit

If this object is currently destroyed.

ExamplesEdit

; Is the object destroyed?
if (DoomMoon.IsDestroyed())
  Debug.Trace("The doom moon is destroyed!")
endIf

See AlsoEdit