• 🏆 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!

How to make units autocast?

Status
Not open for further replies.
Level 4
Joined
Jul 31, 2004
Messages
29
Hii
In some maps (like Legion TD, Warcraft TD) are units which can cast spells automatically

Example:
Legion TD - The King is casting Shockwave
Warcraft TD - Bloodmages is casting Flamestrike

I'd like to know how that does work. Hope u can help me... :]
 
Level 11
Joined
Sep 9, 2010
Messages
368
  • Test
    • Events
      • Unit - A unit is attacked
    • Conditions
      • Unit-type of Attacking unit is equal to <TOWER>
    • Actions
      • Unit - Issue unit to cast spell Tauren Cheiftain - Shockwave

I'm at work atm. and have made this by my knowlegde, so I'm not sure if the text looks like my try in the world editor.

It looks wierd, but I hope that you can understand it.

EDIT: Notice that this was a example for this 'King tower'
Example:
Legion TD - The King is casting Shockwave
 
Status
Not open for further replies.
Top