Difference between revisions of "GetDead"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>JT (redacted; whoops, creatures aren't actors) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|CSWikiPage = GetDead | |||
|origin = GECK1 | |||
|summary = Returns 1 if the object reference is dead. | |||
|name = GetDead | |||
|returnVal = 0, 1 | |||
|returnType = void | |||
|referenceType = [Actor] | |||
|example = <pre>Molerat01Ref.GetDead</pre> | |||
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]]). | |||
=='''See Also'''== | =='''See Also'''== | ||
Line 7: | Line 18: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1. | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Actor State Functions (GECK 1. | [[Category:Actor State Functions (GECK 1.1)]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1. | [[Category:Condition Functions (GECK 1.1)]] | ||
[[Category:Actor Functions]] | [[Category:Actor Functions]] | ||
[[Category:Actor Functions (GECK 1. | [[Category:Actor Functions (GECK 1.1)]] |
Latest 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).