• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Rapid Firebolt Spell

Status
Not open for further replies.

Brashnard

B

Brashnard

So I've been playing around trying to make this spell, but it doesn't seem to work.

  • Events
    • Unit - A unit begins casting an ability
  • Conditions
    • (ability being cast) Equal to dummy spell
  • Actions
    • Unit - Create 1 dummyunit for (owner of(triggering unit)) at (position of(triggering unit)) facing (facing of (triggering unit)) degrees
    • Unit - Add Firebolt (neutral hostile) to (last created unit)
    • Unit - Order (last created unit) to neutral - firebolt (target unit of ability being cast
    • Wait .15 seconds
And I repeat the above a few times. It always casts 1 firebolt and then just doesn't. I want to do it this way because if I set a pick units loop, it just does an aoe spread of firebolts.

So.. If I can figure out how to get the dummy units to actually cast their firebolts instead of doing nothing, I can do the whole animation bit easily.

So what's wrong with the trigger above? does wait just not work well with this type of thing?
 
Ah sweet! Thanks Huurka, it works now. Took a little while to figure out how to work an integer loop, but now that I know it'll be a useful tool. I think I did the whole +rep thing right.
 
Status
Not open for further replies.
Back
Top