GetLastDisarmed
From NWN Lexicon
Jump to navigationJump to search
GetLastDisarmed()
Determine who last disarmed a trapped trigger, door or placeable object.
object GetLastDisarmed();
Description
Returns the creature which last disarmed a trigger, door or placeable object. Returns OBJECT_INVALID if the caller is not a valid placeable, trigger or door, or if the caller was not trapped.
Remarks
Unlike some other "GetLast" functions, GetLastDisarmed may be called from any script owned by the trapped object.
Version
1.61
See Also
author: Jason Harris, editor: Charles Feduke, additional contributor(s): Nils Jeppe