Hello, I am new to the editor and going to make a TD. I was testing a slow tower I made, when I realized the tower only would target the one one unit it was slowing, and not trying to slow all the units. So, instead of having a tower target a single unit, how do you set it to attack the fastest unit within the range of the tower? Please reply quickly. Thanks for your help!
A marker is an arbitrary behavior you put on a unit when it gets hit by some effect. If you put the "no markers" validator on a weapon's filters, it will basically ignore units it's already attacked.
You can also make a validator that checks if that behavior is already on that unit. (but if you attach that to the attack, it won't attack a slowed unit)
Also, I don't know any TD that did that in WC3, so people are used to it ;)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello, I am new to the editor and going to make a TD. I was testing a slow tower I made, when I realized the tower only would target the one one unit it was slowing, and not trying to slow all the units. So, instead of having a tower target a single unit, how do you set it to attack the fastest unit within the range of the tower? Please reply quickly. Thanks for your help!
@yopeasants: Go
Use markers and the "no markers" validator.
@shardfenix: Go
can you be a little more specific please?
A marker is an arbitrary behavior you put on a unit when it gets hit by some effect. If you put the "no markers" validator on a weapon's filters, it will basically ignore units it's already attacked.
@shardfenix: Go
I checked under the weapon filters, but there's no option for 'no markers'...?
Or use target sort with unit movement speed,sort for the highest. Marker means that it will not target the unit that it has targeted before
@progammer: Go
Not there either... man, why is everything there EXCEPT for what I want D:
You can also make a validator that checks if that behavior is already on that unit. (but if you attach that to the attack, it won't attack a slowed unit)
Also, I don't know any TD that did that in WC3, so people are used to it ;)