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

Making rain of fire instant spell

Status
Not open for further replies.
Level 12
Joined
Jul 17, 2013
Messages
544
How can i make so the caster doesnt have to stand still using rain of fire? and he can fight enemy while rain of fire casts after caster just clicked to use it

second question how can i make a lot of flame strikes with one use? like caster uses it on area but nearby 4 of flamestrikes are being casted at same time too
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
Create a dummy unit at the position of the caster and order it to cast rain of fire at the target point of the ability being cast.
  • Rain of Fire
    • Events
      • Unit - A unit Initie Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Rain of Fire
    • Actions
      • Set CasterPoint = (Position of (Triggering unit))
      • Set AbilityTargetPoint = (Target point of ability being cast)
      • Unit - Create 1 DUMMY for (Owner of (Triggering unit)) at CasterPoint facing 0 degrees
      • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Rain of Fire (Neutre hostile) to (Last created unit)
      • Unit - Order (Last created unit) to Pit Lord neutral - Rain of Fire AbilityTargetPoint
      • Wait 2.00 seconds
      • Custom script: call RemoveLocation (udg_CasterPoint)
      • Custom script: call RemoveLocation (udg_AbilityTargetPoint)
second question how can i make a lot of flame strikes with one use? like caster uses it on area but nearby 4 of flamestrikes are being casted at same time too
Use the same method above.
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
Above posters already mentioned wait, but also two different point variables are not necessary, just use AbilityTargetPoint and get rid of CasterPoint.
 
Status
Not open for further replies.
Top