Starcraft – Galaxy editor use unit type for trigger

galaxy-editorstarcraft-2

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?

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.