Difference between revisions of "GetDead"
Jump to navigation
Jump to search
imported>Haama (Category links) |
imported>DragoonWraith (better than GetAV Health) |
||
Line 4: | Line 4: | ||
BossGoblin.GetDead | BossGoblin.GetDead | ||
Returns 1 if the object reference is dead. | Returns 1 if the object reference is dead. Note that 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]]). | ||
==See Also== | ==See Also== | ||
[[GetDeadCount]] | * [[GetDeadCount]] | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category:Actor Functions]] | [[Category: Actor Functions]] | ||
[[Category:Actor Functions (CS 1.0)]] | [[Category: Actor Functions (CS 1.0)]] | ||
[[Category: Actor State Functions]] | [[Category: Actor State Functions]] | ||
[[Category: Actor State Functions (CS 1.0)]] | [[Category: Actor State Functions (CS 1.0)]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
[[Category: Condition Functions (CS 1.0)]] | [[Category: Condition Functions (CS 1.0)]] |
Revision as of 17:30, 5 September 2007
Syntax:
[ActorID.]GetDead
Example:
BossGoblin.GetDead
Returns 1 if the object reference is dead. Note that 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).