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?
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.
|show 1 more comment|
I have been messing around in the editor and have done something similar to what you are trying to do. I found the best way to do this is to take a sensor tower and change nothing but the effect, its rather easy to change the effect to give out a certain number of minerals per minute etc.