IsDeleted - ObjectReference

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script (Requires 1.6)

Checks to see if this object is currently flagged for delete.

Syntax[edit | edit source]

bool Function IsDeleted() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True if this object is currently flagged for delete.

Examples[edit | edit source]

; Is the actor dead and cleaned up?
if (ImportantActor.IsDead() && ImportantActor.IsDeleted())
  Debug.Trace("Actor's corpse is gone. Need to move important item to chest.")
endIf

See Also[edit | edit source]