A TD question

Status
Not open for further replies.
Level 15
Joined
Jun 11, 2007
Messages
969
How do I make towers (In TDs) cast their spells automaticly? I know this is possible. I don't mean usual auto-cast spells, like the Priests Heal, or the Shamans Bloodlust, but this is done in triggers.

Also, I have seen where a second dummy autocast spell has been used, to turn on or off the autocast for that spell. That'd be awsome.

Could someone just post me the triggers needed? Thank you!
 
Level 15
Joined
Aug 11, 2009
Messages
1,606
You can use something like this
  • Chain Tower
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacking unit)) Equal to Chain Lightning Tower
    • Actions
      • Unit - Order (Attacking unit) to Orc Far Seer - Chain Lightning (Attacked unit)
But of course if you need it for a TD change the "unit is attacked" with "unit enters a region...(create a region next to your tower)
Also add the chain spell to your tower.
 
Level 15
Joined
Aug 11, 2009
Messages
1,606
@eleljrk
Well, I will not only use spells that has the autocast function.

@reason 3
But i'd have to find Raw IDs for the spells right? No probs with that, but it-s a bit hard :p
And I think I can use Attacked Unit Event, can't i? Because it is suppose to happen as soon as the spell is off cooldown.

Yes you can...but since you solved it,i guess we are ok.
 
Status
Not open for further replies.
Top