• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Attacking Enemies in TD

Status
Not open for further replies.
Level 2
Joined
Aug 5, 2005
Messages
20
I have a 2 Problems in Sivvis TD.

1.) In my TD u can block the way. So the enemies attack the bloking Towers. Now sometimes if someone blocks in the end of the way, the enemies attack all towers in the beginning of the End.

2.) If they attack one Tower, and the way is free then, they're attacking the other towers until all towers are destroyed.


Can someone help me with my 2 Problems?

THX

Sivvis
 

Ralle

Owner
Level 77
Joined
Oct 6, 2004
Messages
10,101
thats right. That would look like this:
(opening wh40ktd)
Code:
Prevent Attack
    Events
        Unit - A unit owned by Player 1 (Red) Is attacked
        Unit - A unit owned by Player 2 (Blue) Is attacked
        Unit - A unit owned by Player 3 (Teal) Is attacked
        Unit - A unit owned by Player 4 (Purple) Is attacked
        Unit - A unit owned by Player 5 (Yellow) Is attacked
        Unit - A unit owned by Player 6 (Orange) Is attacked
        Unit - A unit owned by Player 7 (Green) Is attacked
        Unit - A unit owned by Player 8 (Pink) Is attacked
        Unit - A unit owned by Player 9 (Gray) Is attacked
    Conditions
        (Owner of (Attacking unit)) Equal to Player 12 (Brown)
    Actions
        Wait 2.00 seconds
        Unit - Order (Attacking unit) to Move To (Center of Center <gen>)
 
Status
Not open for further replies.
Top