IsDeleted - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script (Requires 1.6)

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

Syntax

bool Function IsDeleted() native

Parameters

None.

Return Value

True if this object is currently flagged for delete.

Examples

; 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