• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,121
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