• 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.

Fireball Wave

Status
Not open for further replies.
Level 2
Joined
Jan 4, 2007
Messages
15
So my next idea is an attack that creates a spread of fireballs and then checks them all for proximity to a unit then destroys the ones that are, and uses a dummy caster to cast flame strike on the spot where the fireball used to be.
 
1- Create an ability based on the "Breath of Fire", but without damage or grapich effect.

2- Create a dummy unit with grapich of a fireball, give to it the abilities "Locust" (to make it unselectable) and an "aoe damage upon death".

3- create the trigger:

Events:
Unit - A unit begins casting an ability.

Conditions:
Ability begin cast equal to Fireball Wave.

Actions:
Create 1 Fireball at position of casting unit with polarity 100 towards casting unit degress.
Order last created unit move to position of casting unit with polarity (range of ability) towards last created unit degress.

If you dont know how to configure dummy units, search for a dummy units tutorial.
 
No, the dummy unit fireball as the aoe damage upon death.
This will create the fireball and order it to move to position of the targeted spell.

that action is just a base, you just need to copy it according to the number of fireballs shoots

But I think then whats I writen is wrong.

this is the right code:

Actions:
Create 1 Fireball at position of casting unit facing casting unit degress.
Order last created unit move to position of target of ability begin cast.
wait 0.50 seconds
Create 1 Fireball at position of casting unit facing casting unit degress.
Order last created unit move to position of target of ability begin cast.
wait 0.50 seconds
Create 1 Fireball at position of casting unit facing casting unit degress.
Order last created unit move to position of target of ability begin cast.
etc...
 
Level 7
Joined
Oct 26, 2005
Messages
190
There's no need of making that hard, if you want a spell that throws fireballs equivalent to the amount of units, you can use storm bolt as dummy ability, and change the missile to a Fireball and then:

Create 1 Caster Dummy
Add Firebolt (dummy) to last created unit
Pick every units in (range) of (point)
+Order Last created unit to [Human: Storm Bolt] [Picked Unit]

It is even easier
 
Level 3
Joined
Jan 20, 2007
Messages
53
that would cause problem in the trigger becuase it can only be fired once at a time if targeting that many unit the trigger will fail.

sounds like an interesting idea. For me this what i think you want: summon somekinda ward that shoots fire bolt. to do this make hero ability that summons the ward. then get the phoenix ability that shoots fires at nearby targets. put 0 cooldown for the ability and add the fireball missile to the ability and target effect with the flame strike spell. add that to the ward and SHIZZAM there is your spell.
 
Level 2
Joined
Jan 4, 2007
Messages
15
Yeah well sort of actually it creates a spread of 5 fireballs and checks them all for proximity to an enemy unit if the unit check is true (there is a unit) it summons a flame strike on that area where the fireball enemy check was true and the fireball died. You target an area and the fireballs spread over the area with the center one going straight at that area and the rest of the 4 being split evenly on either side.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Ok you need jass to do this and handle vars.
You have to make a timer that triggers every 0.10 seconds (YES WILL NOT LOOK SMOOTH but that is so it does not make lag) and every time the timer fires it moves each of the firebolts X foward and then does the collision detection (picking units in area around fireball)
To set up the fireballs you need to culculate the spawn location and angle of each since this step will allow for better preformance.
If a collision is detected, do your damage actions which in your case are, make a dummy and cast flamestrike at the location of the colision.
 
Status
Not open for further replies.
Top