GetLastKiller
From NWN Lexicon
Contents |
[edit] GetLastKiller()
Get the object that killed the caller.
[edit] Description
Returns an object representing the object that killed the calling object.
[edit] Remarks
Only works when called from an NPC or creature. Does not work during the OnPlayerDeath event of a module (returns OBJECT_INVALID in this case).
[edit] Version
1.61
[edit] See Also
functions: |
author: John Shuell, editor: Charles Feduke, additional contributor(s): Eric Collazo