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 Is Created

From SC2Mapster Wiki
Jump to: navigation, search


Unit Is Created


Unit - creator creates a unit with ability ability or behavior behavior

Galaxy Code

void TriggerAddEventUnitCreated (trigger t,unitref u,string creatorAbil,string creatorBehavior)


This event fires when a unit is created. Use "Created Unit" to refer to the unit created. Use "Ability That Created Unit" to get the ability that created the unit. Use "Behavior That Created Unit" to get the behavior that created the unit.