IsDeleted - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 20:58, 10 May 2012 by imported>Iceburg333 (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Checks to see if this object is currently flagged for delete. == Syntax == <source lang=...")
(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 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]