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 Selected

From SC2Mapster Wiki
Jump to: navigation, search

Selection-Unit Selection

Unit Is Selected


Selection - unit is state by player player

Galaxy Code

void TriggerAddEventUnitSelected (trigger t,unitref u,int player,bool state)


This event fires when a unit is selected. Use "Triggering Unit" to refer to the unit being selected or deselected. Use "Triggering Player" to get the player that selected the unit.