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.