Warcraft III resources & community, 2003–2006 · archived

Can u detect units hit by a bounce spell? Chain Lightning

10 posts
#1

Can u detect units hit by a bounce spell? Chain Lightning

I've been wanting to make a few custom spells based of chain lightning.

Such as a chain lightning that stuns, casts a buff etc.

How can I make the editor detect the units?

thx
#2
Unless you simulate a chain spell and times it perfectly it is impossible. There is no real way to detect the targets. But wait a few weeks...
#3
new patch? Maybe they'll have some much needed functions put in.
#4
Yeah, like "Unit is affected by spell" and (Ability Source). But of course, Blizzard is too busy with WoW. Meh...

~Daelin
#5
No, no new patch. My spell for the Spell Contest. Chain Lighting target detection, and it works really good :twisted: . Don't steal it!

Have you noticed that Chain Lightning ignores missile art but Ray of Disruption does not? You can choose whatever model you want for Ray of Disruption and it works perfectly. If only Chain Lightning did the same...
#6
Yes, I noticed that too when I attempted to make some spell. And for the Chain Lightning detection, it's not that original. People have made chain spells before. Hell, I made a cattegory for my contest special for them. ;)

~Daelin
#7
Don't you simply make a 1 tagrte dummy lightning and cast on random units, checking who;s alreayd been hit?
#8
No you have to get the closest unit exactly the same time as Chain Lightning bounces to a new target. And of course make it stop if there are no units to be found in the radius.

Another thing to notice. Have you tried to make Chain Lightning bounces to enemies and allies? I tried yesterday and it can never bounce to allies but it can use allies as first target. Same for Healing Wave.
#9
perhaps it has to do with ur dummy spell, make sure it works for both.
#10
I mean the hardcoded abilities. Not some trigger. Test it.