IsDestroyed - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Checks to see if this object is currently destroyed.

Syntax

bool Function IsDestroyed() native

Parameters

None.

Return Value

If this object is currently destroyed.

Examples

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

See Also