Triggers/Category Selection

From SC2Mapster Wiki
Jump to: navigation, search

Control Groups[edit | edit source]

Add Unit To Control Group[edit | edit source]

  • Action. Adds a unit to a control group for a player.

Add Unit Group To Control Group[edit | edit source]

  • Action. Adds a unit group to a control group for a player.

Clear Control Group[edit | edit source]

  • Action. Removes all units from a control group for a player.

Remove Unit From Control Group[edit | edit source]

  • Action. Removes a unit from a control group for a player.

Remove Unit Group From Control Group[edit | edit source]

  • Action. Removes a unit group from a control group for a player.

Unit Selection[edit | edit source]

Restore Unit Selection[edit | edit source]

  • Action. Restores the last stored unit selection for a given player. Use the "Store Unit Selection" action to store a unit selection.

Store Unit Selection[edit | edit source]

  • Action. Stores which units a given player has selected. Use the "Restore Unit Selection" action to restore this selection.

Clear Unit Selection[edit | edit source]

  • Action. Clears all unit selections for a player.

Flash Unit Selection[edit | edit source]

  • Action. Flashes a ring around a unit for given period of time.

Select Unit Group[edit | edit source]

  • Action. Selects or deselects a unit group for a player.

Selected Units[edit | edit source]

  • Function. Returns the selected units for the specified player.

Unit Is Selected[edit | edit source]

  • Function. Returns true if the specified unit is selected by the specified player.

Select Unit[edit | edit source]

  • Action. Selects or deselects a unit for a player.