Issue Order Targeting a Point - Rain of Chaos

draist

Active Member
Reaction score
1
Hello, long time viewer - first time poster here! First of all I wish to say that this forum has helped me a great many times when I got stuck in my, not too advanced, mapmaking.

The issue at hand is, as you may have seen in the title, the ability Rain of Chaos and to make a unit cast it. The idea is somewhat simple - I want the unit to cast Rain of Chaos when he has less than or equal to 40% health. The problem is that he won't cast it.

I have tried everything and I can now conclude that I need your help. I have searched the site for similar problems - and found many - but none about Rain of Chaos. I have tried making the unit cast other abilities and that works, it's just Rain of Chaos that won't work.

If you have any information about this, please reply.
Thanks!


This is how my trigger looks like:

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of (Attacked unit)) Less than or equal to 87512.00
(Attacked unit) Equal to Pit Lord 0058 <gen>
Then - Actions
Game - Display to (All players) the text: Destromath: Feel th...
Unit - Order (Attacked unit) to Special Archimonde - Rain Of Chaos (Position of (Attacking unit))
Wait 0.10 seconds
Trigger - Turn off (This trigger)
Else - Actions
Do nothing


Also, how do I make it look like in the trigger editor?
 
First off, you can use [noparse]
Trigger:
[/noparse] tags. Just put the codes in between. Could it be the casting time of the ability? Could you post the full trigger? And that leaks. You might want to search up on a leaks guide on this forum to fix it.
 
I think I found the problem(s).
1. Rain of Chaos has no order string.
2. When you use
Trigger:
  • Unit - Order (Attacked unit) to Special Archimonde - Rain Of Chaos (Position of (Attacking unit))

the order string is actually "rainoffire" (as seen in JASS).

Change these two things and you're done.
1. Give Rain of Chaos an order string - preferably "rainofchaos".
2. Convert the trigger to custom text, then change the order "rainoffire" to "rainofchaos".
 
Oh, my mistake, I thought i posted the full trigger!
Anyways, here is the full one and I don't think it has something to do with the cast time since I've tried different cast times, between 0 and 15.

Trigger:
  • Rain of Chaos
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Life of (Attacked unit)) Less than or equal to 87512.00
          • (Attacked unit) Equal to Pit Lord 0058 &lt;gen&gt;
        • Then - Actions
          • Game - Display to (All players) the text: Destromath: Feel th...
          • Unit - Order (Attacked unit) to Special Archimonde - Rain Of Chaos (Position of (Attacking unit))
          • Wait 0.10 seconds
          • Trigger - Turn off (This trigger)
        • Else - Actions
          • Do nothing


Thanks to you both for your replies!
 
I'm not sure if you got it working or not but you should get rid of the wait, turning a trigger off only stops it from running again, it doesn't prevent the rest of the actions in the trigger, btw hello everyone, its been ages since i've visited the helper forums and i can truthfully say it looks REALLY GOD DAMN AWESOME:)
 
Like I said,
Trigger:
  • Unit - Order (Attacked unit) to Special Archimonde - Rain Of Chaos (Position of (Attacking unit))
actually orders the unit to cast Rain Of Fire. Rain of Chaos (Archimonde) has no order string on its own, so you have to give it one.
 
I'm not sure if you got it working or not but you should get rid of the wait, turning a trigger off only stops it from running again, it doesn't prevent the rest of the actions in the trigger, btw hello everyone, its been ages since i've visited the helper forums and i can truthfully say it looks REALLY GOD DAMN AWESOME:)

I have now removed the wait.

Like I said,
Trigger:
  • Unit - Order (Attacked unit) to Special Archimonde - Rain Of Chaos (Position of (Attacking unit))
actually orders the unit to cast Rain Of Fire. Rain of Chaos (Archimonde) has no order string on its own, so you have to give it one.

Yes, I changed the string and I'm just about to try it out!

[Edit]
It works damn well! Thank you!
 
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

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top