GetDead

From the Oblivion ConstructionSet Wiki
Revision as of 08:28, 20 June 2008 by imported>Vswe (Added Search Terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

 [ActorID.]GetDead

Example:

 BossGoblin.GetDead 

Returns 1 if the object reference is dead.

Notes[edit | edit source]

  • This is more accurate than checking the actor's health because there are circumstances when the actor can die without losing all of their health (such as through Kill).
  • It will also return a correct result for a respawning reference (ie a guard) returning 1 if the reference is currently dead, and 0 when the reference respawns later.

See Also[edit | edit source]