GetLastDamager
From NWN Lexicon
Contents |
[edit] GetLastDamager()
Get the object which last damaged a creature or placeable object.
[edit] 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.
[edit] 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.
[edit] Version
1.22
[edit] See Also
functions: |
author: Jason Harris