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 Loads-Unloads Cargo

From SC2Mapster Wiki
Jump to: navigation, search


Unit Loads/Unloads Cargo


Unit - unit state|Loads/Unloads cargo

Galaxy Code

void TriggerAddEventUnitCargo (trigger t,unitref u,bool state)


This event fires when a unit loads or unloads cargo. Use "Triggering Cargo Unit" to get the unit that was loaded or unloaded. Use "Triggering Player" to get the owner of the transport unit. Use "Triggering Unit" to get the transport unit.