INVENTORY UPDATE (Custom Trigger)¶
The INVENTORY_UPDATE trigger is sent to your client every time you manipulate your inventory. It will go off once when you buy or receive an item, or if you delete or give away an item. It will sometimes go off twice if you 'move' an item within your inventory because it is activated to deal with the 'old' slot and the 'new' slot (in case there are "stacks" of items to deal with).
The following data is sent to your client via an invisible trigger each time your inventory is manipulated:
AddTrigger inventorychanged INVENTORY_UPDATE::INVENTORY_UPDATE