GetLastUsedBy

From NWN Lexicon
Jump to: navigation, search

GetLastUsedBy()

Get the last object that used the placeable object that is calling this function.

Description

Returns the last object that used the placeable or door object that is calling this function.
Returns OBJECT_INVALID if it is called by something other than a placeable or a door.



Remarks

Pretty much the same function as GetLastOpenedBy but can be called from placeables that are not openable but are usable.


Version

1.22

See Also

functions: 

GetLastWeaponUsed

events: 

OnUsed Event



 author: Jody Fletcher, editor: John Shuell