Dummy unit isn't casting shockwave

FireBladesX

Eating my wings!
Reaction score
123
I'm making a spell where a unit fires off a shockwave when it deals damage. The dummy is created, but no shockwave fires.

Trigger:
  • ShockwaveTotem2
    • Events
      • Game - GDD_Event becomes Equal to 0.00
    • Conditions
      • (Level of Shockwave Totem Periodic for GDD_DamageSource) Greater than 0
      • GDD_Damage Greater than or equal to 0.01
    • Actions
      • Unit - Remove Phoenix Fire buff from GDD_DamagedUnit
      • Set L = (Position of GDD_DamageSource)
      • Set L2 = (Position of GDD_DamagedUnit)
      • Unit - Create 1 Footman for (Owner of GDD_DamageSource) at L facing Default building facing degrees
      • Unit - Add Shockwave Real to (Last created unit)
      • Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave L2
      • Unit - Add a 1.00 second Water Elemental expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_L)
      • Custom script: call RemoveLocation(udg_L2)


I'm using weep's damage detection system. I'm certain it works in this trigger. The dummy unit is created at the position of the damage source. I know it has the ability, it has enough mana for the ability, it has enough time to cast the ability before it dies, and the target range is within the Shockwave ability's cast range.

TLDR: Everything works, dummy unit created at the right spot, ordered to target a valid area. But shockwave doesn't cast. 0 mana cost, 10000 cast range.

Any ideas?


Extra info: to test, I made the dummy visible and gave it movement speed, but the dummy doesn't even turn to cast the ability (but it will for other abilities). The dummy has 0 cast point, locusted, flying, no attack, etc etc. It's always worked before.
 
Locusted units are able to cast spells. I already use them in the map, casting lightnings and slows and soul burns and hexes and stuff. For whatever reason, just the shockwave isn't working.

But I tested it anyways without the locust because I'm really stumped... the unit appeared with the ability, but didn't cast the ability. I could manually click the unit and order it to cast, but it wouldn't cast by itself :(
 
Hmmm.. try to re-make your spell, maybe has some bugs.

One time i've made a custom Roar, and when i tryed to use it i just can't, i can be making anything, but the spell still don't work, soo i've re-maked it, and vuala, it work.

I've tryed to a unit with locust to cast a shockwave and it works... try to re-make the spell :3
 
(Owner of GDD_DamageSource) must be a computer player, I presume.

So far I haven't found a solution to this issue. Computer players tend to be stubborn sometimes. Try changing the (Owner of GDD_DamageSource) to 'Player 1' instead. If it casts the spell, then you can confirm the root of the problem.
 
I noticed that sometimes it worked depending on my hero skill choice order, so I fixed it by preloading the shockwave in the first few seconds of the game. I have no idea how or why it fixed it, but it fixed it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top