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

[Trigger] Shockwave Spel doesn't work...

Status
Not open for further replies.
Level 9
Joined
May 31, 2010
Messages
366
could you pls help me with that spell?
(Sry my editor is in german)

  • Ereignisse
    • Einheit - A unit Startet den Effekt einer Fähigkeit
    • Bedingungen
      • (Ability being cast) Gleich Shockwavestorm
    • Aktionen
      • Einheit - Create 1 Dummy for Spieler 1 (Rot) at (Position of HeroRED <gen>) facing Vorgabe für Gebäude-Ausrichtung degrees
      • Set dummy1 = (Last created unit)
      • Einheit - Create 1 Dummy for Spieler 1 (Rot) at (Position of HeroRED <gen>) facing Vorgabe für Gebäude-Ausrichtung degrees
      • Set dummy2 = (Last created unit)
      • Einheit - Create 1 Dummy for Spieler 1 (Rot) at (Position of HeroRED <gen>) facing Vorgabe für Gebäude-Ausrichtung degrees
      • Set dummy3 = (Last created unit)
      • Einheit - Create 1 Dummy for Spieler 1 (Rot) at (Position of HeroRED <gen>) facing Vorgabe für Gebäude-Ausrichtung degrees
      • Set dummy4 = (Last created unit)
      • Einheit - Set level of SpellEffect for dummy1 to (Level of Shockwavestorm for HeroRed <gen>)
      • Einheit - Set level of SpellEffect for dummy2 to (Level of Shockwavestorm for HeroRed <gen>)
      • Einheit - Set level of SpellEffect for dummy3 to (Level of Shockwavestorm for HeroRed <gen>)
      • Einheit - Set level of SpellEffect for dummy4 to (Level of Shockwavestorm for HeroRed <gen>)
      • Wait 0.03 seconds
      • Einheit - Order dummy1 to Orc-Tauren-Häuptling - 'Schockwelle' ((Position of HeroRed <gen>) offset by (0.00, 500.00))
      • Wait 0.03 seconds
      • Einheit - Order dummy2 to Orc-Tauren-Häuptling - 'Schockwelle' ((Position of HeroRed <gen>) offset by (500.00, 0.00))
      • Wait 0.03 seconds
      • Einheit - Order dummy3 to Orc-Tauren-Häuptling - 'Schockwelle' ((Position of HeroRed <gen>) offset by (0.00, -500.00))
      • Wait 0.03 seconds
      • Einheit - Order dummy1 to Orc-Tauren-Häuptling - 'Schockwelle' ((Position of HeroRed <gen>) offset by (-500.00, 0.00))
i know that i have to remove the dummy's later but my problem is that only the dummy 2 and 4 are casting the spell
pls help me, thank you

Edit: Sometimes all 4 dummys are casting the ability and also it happens that no ability is casted by the dummys
 
Last edited:
Your trigger leaks and is not MUI and blah blah blah.

I'm thinking it's either the offset (range issue) or the wait (MUI issue, but not likely if you're only testing this singleplayer). Try it without the waits or with a shorter offset and see if it's more consistent.
 
After you create each dummy and set the level of the ability order it instantly to cast the spell no waits
 
btw, aside from leaks, the reason why sometimes shock wave won't cast is because the distance between the casting point and casting unit is too far. if it's for a dummy, make the cast range longer, or set it to 9999. this won't affect the spell's max distance.
 
Status
Not open for further replies.
Back
Top