Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Events/Unit Manipulates Inventory

From SC2Mapster Wiki
Jump to: navigation, search

Unit-Items

Unit Manipulates Inventory

GUI

Unit - unit manipulates item

Galaxy Code

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

Description

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