• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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 79
Joined
Oct 6, 2004
Messages
10,183
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