• 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.

[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