I have a trigger using the event Unit Enters/Leaves Range of Unit, but it seems to want a specific unit. For the sake of brevity (and saving time for me), how do i set the trigger to find a unit that enters range of any of a specific type of unit?
Starcraft – Galaxy editor use unit type for trigger
galaxy-editorstarcraft-2
Related Topic
- Starcraft 2 Galaxy editor mirroring tools
- Starcraft – Galaxy Editor change map lighting
- Starcraft – Changing middle mouse button down event to left mouse button double click event
- Starcraft II Galaxy Editor – How to decide the dimensions of the dialog
- starcraft-2,galaxy-editor – Probe Returning: From Which Mineral Field Did It Gather Resources in Starcraft 2?
- Starcraft – Selecting every single unit from a certain type in StarCraft 2
Best Answer
Are you sure you want to use a trigger for this? It sounds like the functionality you're looking for would work much better as an aura-like ability.
I've been fiddling with my SC2MapEditor -- I don't think there's a simple way to implement the ability with that event, as it's designed to work with a single unit. You might could try something with unitgroups, but even that returns only one (rather than all) of the units in the unitgroup.
It might also help if you informed us what you were trying to do.