GetLastDamager()
Get the object which last damaged a creature or placeable object.
object GetLastDamager();
Description
Returns the object that last damaged the caller.
Returns OBJECT_INVALID if the caller is not a valid object, or if the caller is undamaged.
Remarks
Unlike most other GetLast* functions, GetLastDamaged is NOT restricted to the OnDamaged event script; it can apparently be called from any script which is "owned" by the creature that was damaged.
Version
1.22
See Also
functions: | GetLastHostileActor | GetLastKiller |
categories: | Combat Information Functions |
author: Jason Harris