IsDestroyed - ObjectReference

From the Fallout4 CreationKit Wiki
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]