Difference between revisions of "GetDead"
Jump to navigation
Jump to search
imported>PoHa! (Copied info, used the template (I think) for functions) |
imported>JT |
||
Line 12: | Line 12: | ||
==Notes== | ==Notes== | ||
*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 [[KillActor]]). | *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 [[KillActor]]). | ||
* This function will never return 1 unless the object is a dead creature or actor, so using it in conjunction with [[IsActor]] is redundant. | |||
=='''See Also'''== | =='''See Also'''== |
Revision as of 23:51, 9 February 2010
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: GetDead.
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the object reference is dead.
Syntax
[Actor].GetDead
Example
Molerat01Ref.GetDead
This will return 1 if the Molerat is dead, and 0 otherwise.
Notes
- 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 KillActor).
- This function will never return 1 unless the object is a dead creature or actor, so using it in conjunction with IsActor is redundant.