Difference between revisions of "GetDeadCount"

145 bytes added ,  03:59, 20 January 2017
m
no edit summary
imported>PoHa!
(Copied info, used the template (I think) for functions)
imported>Pintocat
m
 
(2 intermediate revisions by one other user not shown)
Line 10: Line 10:
   |Name = ActorID
   |Name = ActorID
   }}
   }}
  |example = <pre>GetDead CrMolerat</pre>
  |example = <pre>GetDeadCount CrMolerat</pre>
Returns the amount of Molerats that are dead.
Returns the amount of Molerats that are dead.
}}
}}
Line 17: Line 17:
*On a templated actor, GetDeadCount works only on the specified reference.
*On a templated actor, GetDeadCount works only on the specified reference.
*Note that the parameter is an actor base ID, so you cannot use this function to test whether a named object reference has been killed.
*Note that the parameter is an actor base ID, so you cannot use this function to test whether a named object reference has been killed.
*[[Resurrect]]ing a killed actor will not lower the death count for actors of that type.  This is true even of unique or referenced actors.


=='''See Also'''==
=='''See Also'''==
Anonymous user