GetTotalDamageDealt()
Get the total amount of damage that was last dealt to the caller.
int GetTotalDamageDealt();
Description
Returns the total value of the damage done to the caller. This function only works on creatures, and will always return 0 when called by a placeable.
Remarks
The name is also somewhat misleading in that it sounds as if your looking for the amount of damage the object has caused. That is not the case, this returns the damage done TO the object and only the most recent damage dealt.
Version
1.28
See Also
functions: | GetLastAttacker | GetLastHostileActor | GetMaxHitPoints |
categories: | Combat Information Functions | Get Data from Creature Functions |
events: | OnDamaged Event |
author: John Shuell, editor: Charles Feduke, additional contributor(s): Chuck Sanderson, Jassper
Send comments on this topic.