• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Storm Bolt

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
How to create stun AoE spell such as Sven's storm bolt ?For those that don't know,it's such as Original's storm bolt,but it's AoE
 
Nope mckill2009, it's not totally "easy" :D There's also some advances in that "hammer of Thor"
It needs a system to check if the enemies of caster are saying: "OMG! The hammer is about to stun us!". For a non-lol explain: it needs a system to detect if the dummy is about to reach the target unit (which uses wait or a looping trigger, could cause some non-MUI or leaks) => Bad hammer throw :D. Else, we could give the dummy ability: "Suicide" and order it to use the ability on the target and check when it dies, we do "Stun"

I don't really have time right now, a "way to do this" come out when i read this and want to "make things easier". Goodluck

P/S: Good to be back, i almost done all the exams
 
  • AoE Storm Bolt
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to AoE Storm Bolt
    • Actions
      • Set Location1 = (Position of (Triggering unit))
      • Set Location2 = (Target point of ability being cast)
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units within 512.00 of Location2) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy_Unit for (Owner of (Triggering unit)) at Location1 facing Default building facing degrees
          • Unit - Add Storm Bolt to (Last created unit)
          • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
          • Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_Location1)
      • Custom script: call RemoveLocation(udg_Location2)
For some reason my WC3 doesnt launch, so i cant test it. But it should work. Use Blizzard or something as base ability.

Location1 and Location2 are Point variables.
 
Status
Not open for further replies.
Back
Top