Well Im making a triggered spell that looks like a beam blasting from the caster to all units in front of him.
My problem is, how do I pick all the units thats in front of him and put them into a unit group? I know you have to calculate the distance between the caster and whatnot but can someone help by being more specific?
This is much like the "cone problem", except that this is dealt in a line, rather than in a cone fashion, much like the shockwave skill rather than the breath of frost skill.
My problem is, how do I pick all the units thats in front of him and put them into a unit group? I know you have to calculate the distance between the caster and whatnot but can someone help by being more specific?
This is much like the "cone problem", except that this is dealt in a line, rather than in a cone fashion, much like the shockwave skill rather than the breath of frost skill.