OnOpen

The script attached to this event fires when an object has been opened.


Trigger

Door or placeable object was opened.


Function(s)

GetLastOpenedBy() returns the object that opened OBJECT_SELF.


Remarks

Only placeable objects with inventories (has the "Has Inventory" check box checked) can be opened.


See Also

Objects with Events | Door | Placeable Object
functions: GetLastOpenedBy


 Send comments on this topic.