IsDestroyed - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 08:41, 14 March 2013 by imported>Gawdl3y (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks to see if this object is currently destroyed.

Syntax[edit | edit source]

bool Function IsDestroyed() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this object is currently destroyed.

Examples[edit | edit source]

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

See Also[edit | edit source]