HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Double Attack?

04-10-2004, 04:57 PM#1
Pyrus
Does anyone know if it is possible to have a unit attack twice, without cooldown then has his cooldown? For example, he fires 2 projectiles then cooldowns. Think of the SC Valkerie and her attack. Also, if the first attack kills the target, I want him to cooldown before attacking again.
04-10-2004, 07:03 PM#2
giiefgii
I think you could trigger it with a dummy unit that has as much damage as the you want to attack twice and triggers, something like:
Event - Unit is attacked
Condition - Unit-type of attacking unit equal to (unit which shoots twice)
Action - Create 1 (dummy attacker unit) at position of attacking unit
Order last created unit to attack once attacked unit
Add a generic expiration timer 2 seconds to last created unit
04-11-2004, 04:42 PM#3
Pyrus
It wont work for a melee attacker cause I want the 2 attacking animations.
04-12-2004, 05:03 AM#4
BBDino
i dont think its really possible, except maybe with a trigger the causes the unit to play its attack animation the secodn time and have an invisable unit with the same dmg stats attack the target via an order trigger.
04-12-2004, 05:18 AM#5
MysticGeneral
Have a dummy ability... Does nothing, just gives info.

Have a trigger calculate the random "double attack"

When it hits the point where it "double attacks", have the trigger add the ability Barrage. When he begins attacking a unit again, remove the ability barrage.

Customize the ability Barrage to only hit 2 units.
04-12-2004, 08:13 AM#6
giiefgii
MysticGeneral: Won't that give the attacking unit a chance to attack 2 nearby units once instead of 1 unit twice?
04-12-2004, 03:51 PM#7
MysticGeneral
Isn't that what he wanted?...?
04-12-2004, 04:10 PM#8
Pyrus
If you ever played Seiken-Densetsu it's like Kevin and Hawk's attack.
Basically I want the unit to slash 2 times with attack animation then a long cooldown. Not 2 diff units but the same one. If the first slash kills the unit he has the long coolsdown.
And its not an ability.
04-12-2004, 04:17 PM#9
linkmaster23
Just increase the animation speeds for like 1 second and allow him to hit 2 times then bring him back to normal... ><.