OnCloseStore

The script attached to this event occurs when the store a PC is currently using is closed. Perhaps use in a multiplayer enviroment to clean up gross amounts of sold items, or change the stock.


Trigger

When a store in use by a PC is closed.


Remarks

By default no script is attached to this event.


Known Bugs

Verified in version 1.61, there seems to be no way to get the PC closing the store. GetLastClosedBy does not return the PC. GetLastOpenedBy does still return the PC that last opened the store, but this will not be 100% reliable in multiplayer modules.


See Also

Objects with Events | Merchant


 Send comments on this topic.