Triggers/Events/Unit Loads-Unloads Cargo

From SC2Mapster Wiki
Jump to: navigation, search

Unit-Cargo[edit | edit source]

Unit Loads/Unloads Cargo[edit | edit source]

GUI[edit | edit source]

Unit - unit state|Loads/Unloads cargo

Galaxy Code[edit | edit source]

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

Description[edit | edit source]

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.

Parameters[edit | edit source]