Triggers/Events/Unit Manipulates Inventory

From SC2Mapster Wiki
Jump to: navigation, search


Unit Manipulates Inventory


Unit - unit manipulates item

Galaxy Code

void TriggerAddEventUnitInventoryChange (trigger t,unitref u,int inChangeType,unitref inItem)


This event fires when a unit performs the specified action on the specified inventory item. Use "Triggering Inventory Item" to get the inventory item, "Triggering Inventory Item Container" to get the container the item resides in, "Triggering Inventory Item Slot" to get the slot the item occupies, "Triggering Inventory Item Target Point" to get the point targeted by the action, and "Triggering Inventory Item Target Unit" to get the unit targeted by the action.