GetLastKiller

From NWN Lexicon
Jump to: navigation, search



GetLastKiller()

Get the object that killed the caller.

Description

Returns an object representing the object that killed the calling object.



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).


Version

1.61

See Also

functions: 

GetLastOpener



 author: John Shuell, editor: Charles Feduke, additional contributor(s): Eric Collazo