Rain of Chaos Failing on Dummy Caster

Xebarsis

New Member
Reaction score
7
I'm trying to make it so that if a player kills a lever (I made the lever a unit instead of a destructible), that rain of chaos will be casted on the position of the unit for the player who killed the lever. Some reason the dummy caster refuses to cast the spell.

Code:
Unit - Create 1 Dummy Caster for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
    Unit - Add Rain of Mini-Infernal Chaos (Trap) to (Last created unit)
    Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
    Unit - Order (Last created unit) to Special Archimonde - Rain Of Chaos (Position of (Dying unit))

I've made sure my dummy caster is invulnerable, has no attack, is a building, has 10,000 mana, and that the Rain of Mini-Infernal Chaos (Trap) costs 0 mana and has a max cast range. I've also tried to give the dummy caster to neutral extra to see if it would still cast the spell, but some reason it still doesn't work.
 

WarToast

Active Member
Reaction score
3
Did you try to make your dummy visible so that you're sure the dummy is alright?
 

Tyman2007

Ya Rly >.
Reaction score
74
is the spell really based off of rain of chaos? if it isn't then no.

Also you can try setting the position of dying unit to a variable and see where that goes.

Looks fine to me.

Maybe you should just give that unit the ability instead of adding it with a trigger.
 

Xebarsis

New Member
Reaction score
7
I don't get why this isn't working.. I made the dummy caster a model to see if it appears, and it does. I changed the spell to the original rain of chaos (archimonde), the unit still refuses to cast the spell. I also tried making it cast it on a variable position:

Code:
    Set ThePoint = (Position of (Dying unit))
    Unit - Create 1 Dummy Caster for (Owner of (Killing unit)) at ThePoint facing Default building facing degrees
    Unit - Add Rain of Chaos (Archimonde) to (Last created unit)
    Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
    Unit - Order (Last created unit) to Special Archimonde - Rain Of Chaos ThePoint

Even when it's the exact spell that is being casted the dummy unit just stands there. I've used this same dummy caster to do other spells like blizzard and flamestrike even when it doesn't originally know the ability and this still isn't working.
 

LightChaosma

New Member
Reaction score
60
I don't get why this isn't working.. I made the dummy caster a model to see if it appears, and it does. I changed the spell to the original rain of chaos (archimonde), the unit still refuses to cast the spell. I also tried making it cast it on a variable position

when your dummy is visible, check if it gets the spell, and if it does, try acting it manually, if it does get the skill, and the skill works, the order somehow doesnt get through...
 

Xebarsis

New Member
Reaction score
7
Very interesting, if I remove locust from the dummy caster then when it spawns it doesn't have the rain of chaos spell even though my trigger adds it to the last created unit. I also tried to make rain of chaos as a regular spell for the dummy caster, but even then I can't get the dummy caster to use the spell with the code:

Code:
 Unit - Order (Last created unit) to Special Archimonde - Rain Of Chaos (Position of (Dying unit))

Hum... any ideas? I know the position it's casting isn't wrong because the dummy caster successfully appears at the position of the dying unit.
 

Tyman2007

Ya Rly >.
Reaction score
74
Units with locust can cast spells...

The only thing i can think of is that you aren't using the right base spell.

Try using the pitlord's rain of fire i guess..
 

Xebarsis

New Member
Reaction score
7
Units with locust can cast spells...

The only thing i can think of is that you aren't using the right base spell.

Try using the pitlord's rain of fire i guess..

What I'm trying to say is that the part of the trigger that says "Unit - Add Rain of Chaos (Archimonde) to (Last created unit)" isn't even giving the dummy caster the spell, which is preventing it from working. If that line of code doesn't work, then "Unit - Order (Last created unit) to Special Archimonde - Rain Of Chaos (Position of (Dying unit))" doesn't work either even if I give the dummy caster Rain of Chaos in the object editor.

I did try the rain of fire just in case, but it didn't work.
 

LightChaosma

New Member
Reaction score
60
Is the spell a hero ability? you can't add a hero ability to a normal unit.
if rain of fire doesnt work, wich is a unit skill, the problem isnt there... you made the dummy a structure you said? maybe the problem is located there ... try making it a unit, or use a footman just to save you some work, and if it works change the dummy later
 

Xebarsis

New Member
Reaction score
7
Is the spell a hero ability? you can't add a hero ability to a normal unit.

Yeah, it's a hero ability. I just changed it into a normal ability, now what happens is the dummy caster gets the spell but doesn't cast it. I can manually target the dummy caster and cast rain of chaos anywhere, but I can't get him to cast the spell this trigger:

Code:
Unit - Order (Last created unit) to Special Archimonde - Rain Of Chaos (Position of (Dying unit))
 

LightChaosma

New Member
Reaction score
60
1: are you using archimondes or balnazars rain of chaos.
2: maybe he cant cast it on himself... probably can though...
 

Xebarsis

New Member
Reaction score
7
if rain of fire doesnt work, wich is a unit skill, the problem isnt there... you made the dummy a structure you said? maybe the problem is located there ... try making it a unit, or use a footman just to save you some work, and if it works change the dummy later

Tried making the dummy caster a footman, but the same exact thing happens. I'm also using archimonde's rain of chaos, and I tried changing the spell to be casted from the position of the dying unit to the killing unit so that it's on a different spot, but it yields the same results.
 

watermelon

New Member
Reaction score
2
Did you try putting the ability on one of your own unit and trying to cast it by yourself instead of using triggers? If you're not able to cast it, then something might be wrong with the ability itself.
And if you already tried that, then I'm sorry. :\
 

Xebarsis

New Member
Reaction score
7
Did you try putting the ability on one of your own unit and trying to cast it by yourself instead of using triggers? If you're not able to cast it, then something might be wrong with the ability itself.
And if you already tried that, then I'm sorry. :\

I could actually select the dummy unit to cast the rain of chaos that it received, but I can't get the dummy unit to cast it via trigger.
 
M

mentauron

Guest
I have the exact same problem, I'm trying to order the casting of a unit version of Thunderbolt. It works well when I make the dummy hostile and cast the spell on my own unit. The problem arises when create him for the human player and order him to Thunderbolt neutral or computer hostile units... He just stands there doing nothing...

The most frustrating part is that it works when he's hostile and Thunderbolts me.
 

Xebarsis

New Member
Reaction score
7
I think you need to use a custom script to properly order a unit to cast Rain of Chaos - if you can find darkRae's contest submission in this thread, you should find out what it is (because I don't know what the function is called)

I found the custom script:

Code:
Custom script:   call IssuePointOrderLocBJ( GetLastCreatedUnit(), "rainofchaos", udg_RL )

However, if I place it into my game I receive an error message and the trigger becomes disabled. Does anyone know how to adjust this custom script to work, and also to apply the rain of chaos on the position of the dying unit?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      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