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 Owner Changes

From SC2Mapster Wiki
Jump to: navigation, search

Unit-Basic

Unit Owner Changes

GUI

Unit - u owner changes

Galaxy Code

void TriggerAddEventUnitChangeOwner (trigger t,unitref u)

Description

This event fires when the owning player of a unit changes. Use "Triggering Unit" to get the unit, and "Old Unit Owner" and "New Unit Owner" to get the old and new owners.

Parameters