I wonder if someone knows how to make a "Strafe" ability like in Diablo 2 sowhen you use the ability your hero fires x number of arrows at a time in the same direction ( Not multi arrow ). Does anyone know how to do this?
You could use a loop to create dummy casters just in front of the hero that cast a shockwave based spell in the direction of the caster's facing then alter the hero's facing
The only problem would be that it would happen fairly fast and my look like a multi-arrow. And you wouldn't want to use wait inside the loop. I'm not sure how to slow it down.
In the same direction? As I recall, strafe automatically picked up all targets (monsters) in the area and fired at them. Is that the behaviour you want?
Blu, No that's not how it acts. The amazon simply fired a few arrows in the same direction super fast if I can recall it right. It should be an active ablity, I doubt there should be any AoE.
Do you mean like bone clinkz's strafe in dota? (where your attack rate raised significantly for n seconds),
Or it's like: The ability allows you to do N consecutive ranged attacks at an enemy unit at once? (And when that N attacks are done, your attack speed is back to normal?)
Timer loop picking a unique target from a group within X of the caster and create a dummy which casts a missile spell on that unit. Probably the easiest way to do it.
uh, just make a timer, increase her animation speed, and make a dummy projectile each short interval, move them towards that point, and keep playing her attack animation each time. add a trigger which detects a unit in a small range of each arrow.