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: GetLastOpenedBy | GetLastWeaponUsed
categories: Get Data from Object Functions
events: OnDisturbed Event | OnUsed Event


 author: Jody Fletcher, editor: John Shuell