GetLastUsedBy

From NWN Lexicon
Revision as of 11:15, 21 August 2012 by Dood (talk | contribs) (Created page with "=GetLastUsedBy()= Get the last object that used the placeable object that is calling this function. object  GetLastUsedBy(); ====Description==== Ret...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GetLastUsedBy()

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

 object  GetLastUsedBy();

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