GetLastOpener

From NWN Lexicon
Jump to navigationJump to search



GetLastOpener()

Gets the creature that last opened or destroyed the container calling this script.

object GetLastOpener();

Description

Returns an object variable representing the object that last opened or destroyed this container.



Remarks

Function can be found in nw_o2_coninclude.nss on line 159

First checks GetLastOpenedBy() function and if it is not valid will then check GetLastKiller().


Requirements

#include " nw_o2_coninclude "

Version

1.22

See Also

functions: 

GetLastOpenedBy



 author: John Shuell