Warcraft III resources & community, 2003–2006 · archived

Getting TD units to attack towers?

6 posts
#1

Getting TD units to attack towers?

Hi guys
simple question: how do i get a maze-style TD unit to attack towers if they block?
thanks
Bort
#2
did this work maybe?


    Events
        Time - Every 0.01 seconds of game time
    Conditions
        (Player 1 (Red) controller) Equal to User
    Actions
        Unit Group - Order (Units in Region 000 <gen>) to Attack-Move To (Center of Region 001 <gen>)
#3
not really, that would get them just attacking everything as they go, as opposed to only attacking when a tower blocks their path..
#4
well you could give the units attack damage as in if your towers had 500hp give units that attack like 501. Only way theyll attack if someone is blocking. Enable attack 1, and target structures.
#5
This will work.

Events: Time - Unit enters region #
Conditions: (Player 12 (Brown) controller) Equal to User
Actions: Unit - Order (Units triggering unit) to Attack-Move To (Center of Region # <gen>)
#6
..mmm, but how does that get it to attack the towers that are blocking?