How to make an instant strike?

Level 2
Joined
Apr 16, 2025
Messages
12
Hello everyone! I made a dummy unit with one attack that instantly appears and attacks the target. It does not need to be rotated, as it is like a tower with a melee attack. The beauty of this unit is that you can put a lightning orb ability in it.

So the attacking dummy unit still has a delay before the attack, despite the fact that I set the minimum animation delay for it. Somewhere around 200-300 milliseconds. This is not much, almost instantaneous, but still noticeable and can catch the eye.

So here's the question: is it possible to instantly initiate an attack by a unit on a target unit? So that everything happens so quickly that a person is unlikely to notice it. Maybe there is some kind of ability for an instant strike?
 
Last edited:
Level 4
Joined
Apr 13, 2025
Messages
4
I was doing some tests and maybe this can help you:

1 - Use a structure as a dummy unit (I used a tower since it doesn't need to rotate to attack).
2 - Set its weapon type to "Instant".
3 - Set projectile speed to 99999.
4 - Change both "Damage Point" and "Backswing Point" to 0. These two values are the ones that cause delay when applying damage.

In my testing I managed to get it to kill 5 units instantly by setting the Attack Cooldown to 0, I don't think it can get any faster than this.But I recommend a high value like 10 seconds for a single attack.
 
Level 23
Joined
Dec 4, 2007
Messages
1,553
Yeah you want to use "weapon type - instant", some extreme projectile speed like 10000 and "animation damage point - 0.00" as well as backswing point 0.00.

The same applies to dummy units for spells, just that you want to set cast backswing and cast point to 0.00.
 
Level 2
Joined
Apr 16, 2025
Messages
12
Yeah you want to use "weapon type - instant", some extreme projectile speed like 10000 and "animation damage point - 0.00" as well as backswing point 0.00.

The same applies to dummy units for spells, just that you want to set cast backswing and cast point to 0.00.
I have everything set to zero, but the delay remains...
 
Level 2
Joined
Apr 16, 2025
Messages
12
I was doing some tests and maybe this can help you:

1 - Use a structure as a dummy unit (I used a tower since it doesn't need to rotate to attack).
2 - Set its weapon type to "Instant".
3 - Set projectile speed to 99999.
4 - Change both "Damage Point" and "Backswing Point" to 0. These two values are the ones that cause delay when applying damage.

In my testing I managed to get it to kill 5 units instantly by setting the Attack Cooldown to 0, I don't think it can get any faster than this.But I recommend a high value like 10 seconds for a single attack.
Thank you. I didn't think that with an instant attack type the projectile speed matters. There was a delay precisely because there was a number 0 there.
Now you can safely apply any ability of the sphere to any unit.
It also becomes much easier to use damage engine. And you can also make a unit's damage 0 with a critical strike ability set to -1
 
Top