Storm,Earth and Fire without removing caster

DuelPlayer

Member
Reaction score
21
Use a dummy to cast storm earth fire and set the storm earth fire as a cast only spell for the caster
 

Gwafu

Active Member
Reaction score
12
Trigger the spell.
Base it off channel (instant-cast)
Then when it is casted, create 3 dummy units which have the model file of the missiles of the 3 summoned pandas.
Then move them to 3 random angles/points.
When they reach it, remove them.
Then create the heroes (or units, I forgot).

Blah.
 

madd_999

New Member
Reaction score
14
you're trigger will look something like this:

Trigger:
  • strom earth and fire
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Storm, Earth, And Fire (Dummy)
    • Actions
      • Set caster_point = (Position of (Casting unit))
      • Unit - Create 1 Footman for (Owner of (Casting unit)) at caster_point facing Default building facing degrees
      • Unit - Add Storm, Earth, And Fire to (Last created unit)
      • Unit - Order (Last created unit) to Neutral Pandaren Brewmaster - Storm, Earth, And Fire
      • Custom script: Custom script:call RemoveLocation(udg_caster_point)


the only thing I can't figure out yet is how to remove the dummy after the storm earth and fire is finished. don't know how a expiration timer reacts on storm earth and fire, and I also don't know if the unit will leak.
 

Soldier965

New Member
Reaction score
0
what happens if the skill can be upgraded/leveled up?
does the trigger cast the current lvled one or do i have have to make a second trigger
 

madd_999

New Member
Reaction score
14
sorry completely forgot about that..

put this line between unit - add.. and unit - order.

Trigger:
  • Unit - Set level of Storm, Earth, And Fire for (Last created unit) to (Level of Storm, Earth, And Fire (Dummy) for (Casting unit))
 

jrhetf4xb

Member
Reaction score
12
Well, true... But all item summoning spells can summon up to 2 units (sadly it's not a solution for you). Dark Portal can summon different units but it's point targeted. I guess you'll have to stick with triggering it.
 

Carnerox

The one and only.
Reaction score
84
If you still need this, here you go.
It creates the Pandas and removes the dummy unit, and I also made it in GUI, MUI, leak-less, lag-less, yadayada.

Trigger:
  • Storm Earth And Fire
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to (==) YourHeroSpell
    • Actions
      • -------- Casting unit. --------
      • Custom script: local unit u = GetTriggerUnit()
      • -------- Setting the var. for the dummy unit. --------
      • Custom script: local unit d
      • -------- Owning player of the caster. --------
      • Custom script: local player p = GetOwningPlayer(u)
      • -------- Position of the caster. --------
      • Custom script: local location loc = GetUnitLoc(u)
      • -------- The level of the ability the caster has. To add the correct rawcode do Cntrl + d and find your spell and replace 'ANef' with the correct raw code and make sure to add ' ' at the front and end of the rawcode. --------
      • Custom script: local integer l = GetUnitAbilityLevel(u, 'ANef')
      • -------- Creates the Dummy Caster at the location we set above. --------
      • Unit - Create 1 Dummy for (p) at (loc) facing Default building facing (270.0) degrees
      • -------- Setting the "d" var. as the last created unit. --------
      • Custom script: set d = GetLastCreatedUnit()
      • -------- Adding a duration to the dummy unit so it wont sit in the map forever. --------
      • Unit - Add a 30.00 second Generic expiration timer to (d)
      • -------- Adding the ability to create the 3 "pandas". --------
      • Unit - Add Storm, Earth, And Fire to (d)
      • -------- Setting the level to create the pandas to the correct level, unless you don't need this then don't add. --------
      • Unit - Set level of Animate Dead for (d) to (l)
      • -------- Order the dummy unit to use storm, earth, fire. --------
      • Unit - Order (d) to Neutral Pandaren Brewmaster - Storm, Earth, And Fire
      • -------- Removing the location and nulling some of the set var. to prevent leaks n such. --------
      • Custom script: call RemoveLocation( loc )
      • Custom script: set u=null
      • Custom script: set d=null
      • Custom script: set p=null
      • Custom script: set loc=null
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • 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 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