Triggers/Events/Unit Manipulates Inventory

From SC2Mapster Wiki
Jump to: navigation, search

Unit-Items[edit | edit source]

Unit Manipulates Inventory[edit | edit source]

GUI[edit | edit source]

Unit - unit manipulates item

Galaxy Code[edit | edit source]

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

Description[edit | edit source]

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.

Parameters[edit | edit source]