Difference between revisions of "GetDead"
Copied info, used the template (I think) for functions
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>PoHa! (Copied info, used the template (I think) for functions) |
||
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'''== |