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

[Spell] How to make chain spell?

Status
Not open for further replies.
Level 2
Joined
Aug 26, 2014
Messages
10
Like title, I just want to know how to make chain spell in vJass. I have searched google but it just has GUI Version. And the other thing i want to know is how to move dummy from the target to another, all of the guides that I found on google had use issue order

Thanks in advance.
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
Chain like in 'Chain Lightning'? You have a primary target, wait a moment, pick a new target nearby, wait a moment, enchant the target, wait a moment, pick a new target...

Instead of a static periodic timer, you can also make the transitions from one target to another as a missile and wait for the arrival. Hit targets should be put into a group, so you can filter them out.

Move a unit? SetUnitX/Y
 
Status
Not open for further replies.
Top