• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Instant ground target spell

Status
Not open for further replies.
I'm creating a custom ranged attack system that uses a trigger that looks something like this:

  • Events
    • Unit - A unit Finishes casting an ability
  • Conditions
    • (Ability being cast) Equal to Attack
  • Actions
    • Custom Script: Call ForceUiKey("A")
(I'll do it over in vjass as soon as I've stopped experimenting)
This allows you to just click on the ground once you've started attacking (like a pseudo point and shoot system).

But this has quite the delay between attacks as most ground target spell I've tried takes time to cast, even with "casting time" set to 0.

I've tried with Channel and shockwave.

Any ideas?
 
Level 23
Joined
Feb 6, 2014
Messages
2,466
That is fine in my case, I'll just adjust it with triggers and casting time instead.

Ok then. It's just that I have the same problem too and the animation won't start playing when you individually set the cast time of each spell unless you trigger all of the spell to play animation when unit begins casting.
How will you trigger to not break the order?
 
Status
Not open for further replies.
Top