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!
Lightnings don't restrict movement. Just iterate over the targets and create a lightning for each from caster to target or vice versa. Maybe you mean that the position of the lightning is not updated to follow the target. Yes, you have to save the caster, target and lightning and periodically move the lightning/update when the unit moves.
Oh yeah lightnings effects don't bend but they can update target unit's movements, in the mean time i would still like to know how to do it where it creates Lightning effects to target picked units.
I could do it via dummy where it makes the unit attack it on and on or either cast lightning affect dummy but the disadvantage of it is it might cause lag in a brief of period or so. That is why i would like to know how to it only by just triggers without using dummies.
Lightnings are between points natively. So you need to get the points of the caster and each target and plug that in the lightning creation/move actions/functions.
In GUI, for this, there is the "Position of unit" function, in native there is "GetUnitX/GetUnitY" among others.
Note that triggered Lightning effects are completely busted in Reforged.
I was having issues in both SD and HD mode, which is a shame because for a little while there it was only HD that had problems, but I guess they broke SD in 1.35 or something.
Hello readers, I want to create a normal attack that deals splash damage to the attacker's parallel lines. (It would be convenient considering the Colossus of Starcraft II) But this is much more difficult than the coordinate calculations that I'd got answered before. I need your help. I am Using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.