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

[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:
Level 11
Joined
Nov 15, 2007
Messages
800
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.
 
Level 3
Joined
Nov 16, 2011
Messages
54
After you create each dummy and set the level of the ability order it instantly to cast the spell no waits
 
Level 8
Joined
Jan 8, 2010
Messages
493
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.
Top