HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Strafe/Multiple Arrows at once

04-29-2006, 01:24 AM#1
Arkidas
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?

Thanks.
04-29-2006, 01:44 AM#2
Deathdragon
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.
04-29-2006, 06:33 AM#3
blu_da_noob
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?
04-29-2006, 06:58 AM#4
Captain Griffen
Passive, active? Targets units, AoE?
04-29-2006, 02:14 PM#5
Arkidas
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.
04-29-2006, 02:32 PM#6
blu_da_noob
That is how it acts. She auto-acquired targets and looped through them, shooting at each.
04-29-2006, 02:35 PM#7
John`Myung
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?)
04-29-2006, 03:00 PM#8
Arkidas
So yeah how could I make this?
04-29-2006, 03:05 PM#9
blu_da_noob
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.
04-29-2006, 03:06 PM#10
vile
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.