Help with a destructibles related trigger

Holla.

New Member
Reaction score
14
Okeydokes. Im still asking about these couple triggers
I have 3 spells i need to trigger. One: I need to trigger breath of fire to kill trees. Two: I need to trigger Shockwave to kill trees.
And three, which i have attempted and you can go from there: an imoolation spell that targets trees.

Heres the immolation spell:
Trigger:
  • Immolation
    • Events
      • Unit - A unit Learns a skill
    • Conditions
      • (Triggering unit) Equal to (Learning Hero)
      • (Unit-type of (Learning Hero)) Equal to Infernal Str
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of |cffb22222Immolation|r (Neutral Hostile 1) for (Learning Hero)) Equal to 1
        • Then - Actions
          • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 10.00))
          • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Special Effect - Create a special effect at (Position of (Picked destructible)) using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of |cffb22222Immolation|r (Neutral Hostile 1) for (Learning Hero)) Equal to 2
            • Then - Actions
              • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 15.00))
              • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Special Effect - Create a special effect at (Position of (Picked destructible)) using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of |cffb22222Immolation|r (Neutral Hostile 1) for (Learning Hero)) Equal to 3
                • Then - Actions
                  • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 20.00))
                  • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Special Effect - Create a special effect at (Position of (Picked destructible)) using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)
                • Else - Actions
                  • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 25.00))
                  • Destructible - Pick every destructible within 200.00 of (Position of (Casting unit)) and do (Special Effect - Create a special effect at (Position of (Picked destructible)) using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)


And this:
Trigger:
  • Immo timer
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Trigger - Run Immolation <gen> (checking conditions)


I dont know what to do from here, im stuck.

I would also like help with the shockwave and breath of fire abilities as i have no idea how to do them.
Thanks
 

jig7c

Stop reading me...-statement
Reaction score
123
in the immolation ability, can't you just set the targets allowed to "trees"
so then, all you need the trigger is for the special effects, and also your trigger has few memory leaks!
 

Holla.

New Member
Reaction score
14
Arghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

firstly, of course i tried setting it to hurt trees, but apparently only a couple spells work with that. Flamestrike, kahboom, that kind of stuff.

and whats a memory leak! HELP dont just tell me whats wrong!

Oh yeah, i forgot about Destroying the special effects. But i dont know how to impliment them anyway..
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
its pretty simple.
each second you run your first trigger checking conditions.

as we can see the conditions on your second trigger are:
Trigger:
  • (<span style="color: Red">Triggering unit</span>) Equal to (Learning Hero)
    • (Unit-type of (<span style="color: Red">Learning Hero</span>)) Equal to Infernal Str

there aint any triggering unit nor a learning hero. conditions are not met. trigger wont run.

Edit: these are memory leaks.
 

jig7c

Stop reading me...-statement
Reaction score
123
i'll help...

but if you set immolation to target trees, it won't hurt them? try that

Trigger:
  • Immolation
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Unit-type of (Triggering Unit)) Equal to Infernal Str
      • Ability being cast equal to Immolation
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of |cffb22222Immolation|r (Neutral Hostile 1) for (Triggering Unit)) Equal to 1
          • Then - Actions
            • Set Point = (Position of (Triggering Unit))
            • Set DestGroup = Destructible within 200.00 of (Point)
            • Destructible - Pick every destructible in DestGroup and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 10.00))
            • Destructible - Pick every destructible in DestGroup and do
              • Set Point2 = Position of Picked Destructible
            • Special Effect - Create a special effect at Point2 using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)
            • Special Effect - Destroy (Last created special effect)
          • Else - Actions
      • Custom Script: call RemoveLocation (udg_Point)
      • Custom Script: call RemoveLocation (udg_Point2)
      • Custom Script: call DestroyGroup (udg_DestGroup) (not sure on this one)


make all the if/then/else look like that!
and make each if/then/else separate, don't add it after the Else Action....

make variables your friend, use them... i have 3 variables in the trigger,
2 are Point variables and other is a destrutible group!

i don't have world editor on this computer, so its hard for me to do the exact trigger
 

Holla.

New Member
Reaction score
14
@jig: I dont actually know what you did

@accname: Yeah i thought it was to do with that but heres the thing, i dont know how to make it work, or how to do the event. The event is the problem
 

jig7c

Stop reading me...-statement
Reaction score
123
@jig: I dont actually know what you did

@accname: Yeah i thought it was to do with that but heres the thing, i dont know how to make it work, or how to do the event. The event is the problem

i was still editing your trigger! :cool:
 

Holla.

New Member
Reaction score
14
so can someone show me how to put it all together and have it actually do something?
 

jig7c

Stop reading me...-statement
Reaction score
123
i already did in the previous trigger!
and did you try setting the target to trees only in the immolation ability!

here is the full trigger!
Trigger:
  • <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code"><div class="bbCodeBlock-title">Trigger:</div><div class="wc3trigger"><ul class="wc3" id="wc3_5">
    • <li class="lastopen"><span class="default">Immolation</span>
    • <ul>
    • <li class="open"><span class="events">Events</span>
    • <ul>
    • <li class="lasttree"><span class="unit">Unit - A unit starts the effect of an ability</span></li>
    • </ul>
    • </li>
    • <li class="open"><span class="conditions">Conditions</span>
    • <ul>
    • <li class="tree"><span class="default">(Unit-type of (Triggering Unit)) Equal to Infernal Str</span></li>
    • <li class="lasttree"><span class="default">Ability being cast equal to Immolation</span></li>
    • </ul>
    • </li>
    • <li class="lastopen"><span class="actions">Actions</span>
    • <ul>
    • <li class="tree"><span class="set">Set Point = (Position of (Triggering Unit))</span></li>
    • <li class="tree"><span class="set">Set DestGroup = Destructible within 200.00 of (Point)</span></li>
    • <li class="open"><span class="destructible">Destructible - Pick every destructible in DestGroup and do</span>
    • <ul>
    • <li class="lasttree"><span class="set">Set Point2 = Position of Picked Destructible</span></li>
    • </ul>
    • </li>
    • <li class="lasttree"><span class="default">Trigger - Run Immolation2 (ignoring conditions)</span></li>
    • </ul>
    • </li>
    • </ul>
    • </li>
    • </ul>
    • </div></div>
    • <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code"><div class="bbCodeBlock-title">Trigger:</div><div class="wc3trigger"><ul class="wc3" id="wc3_6">
    • <li class="lastopen"><span class="default">Immolation2</span>
    • <ul>
    • <li class="open"><span class="events">Events</span>
    • <ul>
    • <li class="lasttree"><span class="default">Time - Every 1.00 seconds of game</span></li>
    • </ul>
    • </li>
    • <li class="tree"><span class="conditions">Conditions</span></li>
    • <li class="lastopen"><span class="actions">Actions</span>
    • <ul>
    • <li class="open"><span class="if">If (All Conditions are True) then do (Then Actions) else do (Else Actions)</span>
    • <ul>
    • <li class="open"><span class="if">If - Conditions</span>
    • <ul>
    • <li class="lasttree"><span class="default">(Level of |cffb22222Immolation|r (Neutral Hostile 1) for (Triggering Unit)) Equal to 1</span></li>
    • </ul>
    • </li>
    • <li class="open"><span class="ifthen">Then - Actions</span>
    • <ul>
    • <li class="tree"><span class="destructible">Destructible - Pick every destructible in DestGroup and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 10.00))</span></li>
    • <li class="tree"><span class="specialeffect">Special Effect - Create a special effect at Point2 using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)</span></li>
    • <li class="lasttree"><span class="specialeffect">Special Effect - Destroy (Last created special effect)</span></li>
    • </ul>
    • </li>
    • <li class="lasttree"><span class="ifelse">Else - Actions</span></li>
    • </ul>
    • </li>
    • <li class="open"><span class="if">If (All Conditions are True) then do (Then Actions) else do (Else Actions)</span>
    • <ul>
    • <li class="open"><span class="if">If - Conditions</span>
    • <ul>
    • <li class="lasttree"><span class="default">(Level of |cffb22222Immolation|r (Neutral Hostile 1) for (Triggering Unit)) Equal to 2</span></li>
    • </ul>
    • </li>
    • <li class="open"><span class="ifthen">Then - Actions</span>
    • <ul>
    • <li class="tree"><span class="destructible">Destructible - Pick every destructible in DestGroup and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 15.00))</span></li>
    • <li class="tree"><span class="specialeffect">Special Effect - Create a special effect at Point2 using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)</span></li>
    • <li class="lasttree"><span class="specialeffect">Special Effect - Destroy (Last created special effect)</span></li>
    • </ul>
    • </li>
    • <li class="lasttree"><span class="ifelse">Else - Actions</span></li>
    • </ul>
    • </li>
    • <li class="open"><span class="if">If (All Conditions are True) then do (Then Actions) else do (Else Actions)</span>
    • <ul>
    • <li class="open"><span class="if">If - Conditions</span>
    • <ul>
    • <li class="lasttree"><span class="default">(Level of |cffb22222Immolation|r (Neutral Hostile 1) for (Triggering Unit)) Equal to 3</span></li>
    • </ul>
    • </li>
    • <li class="open"><span class="ifthen">Then - Actions</span>
    • <ul>
    • <li class="tree"><span class="destructible">Destructible - Pick every destructible in DestGroup and do (Destructible - Set life of (Picked destructible) to ((Current life of (Picked destructible)) - 20.00))</span></li>
    • <li class="tree"><span class="specialeffect">Special Effect - Create a special effect at Point2 using Environment\LargeBuildingFire\LargeBuildingFire2.mdl)</span></li>
    • <li class="lasttree"><span class="specialeffect">Special Effect - Destroy (Last created special effect)</span></li>
    • </ul>
    • </li>
    • <li class="lasttree"><span class="ifelse">Else - Actions</span></li>
    • </ul>
    • </li>
    • <li class="tree"><span class="default">Custom Script: call RemoveLocation (udg_Point)</span></li>
    • <li class="tree"><span class="default">Custom Script: call RemoveLocation (udg_Point2)</span></li>
    • <li class="lasttree"><span class="default">Custom Script: call DestroyGroup (udg_DestGroup) (not sure on this one)</span></li>
    • </ul>
    • </li>
    • </ul>
    • </li>
    • </ul>
    • </div></div>
    • <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code"><div class="bbCodeBlock-title">Trigger:</div><div class="wc3trigger"><ul class="wc3" id="wc3_7">
    • <li class="lastopen"><span class="default">Immolation3</span>
    • <ul>
    • <li class="open"><span class="events">Events</span>
    • <ul>
    • <li class="lasttree"><span class="default">A unit stops the effect of an ability</span></li>
    • </ul>
    • </li>
    • <li class="open"><span class="conditions">Conditions</span>
    • <ul>
    • <li class="tree"><span class="default">Ability being cast Immolation</span></li>
    • <li class="lasttree"><span class="default">(Unit-type of (Triggering Unit)) Equal to Infernal Str</span></li>
    • </ul>
    • </li>
    • <li class="lastopen"><span class="actions">Actions</span>
    • <ul>
    • <li class="lasttree"><span class="default">Trigger - Turn off &amp;lt;Immolation2&amp;gt;</span></li>
    • </ul>
    • </li>
    • </ul>
    • </li>
    • </ul>
    • </div></div>
    • let me ask you this, can you turn immolation on/off?
    • Edit: Leave immolation2 trigger initially on, but not enabled!
 

millz-

New Member
Reaction score
25
Dude, didn't you check your previous thread? I've already posted a demo map with all 3 spells working. Only thing was, I coded the Breath of Fire in JASS, because it's a pain to do all the calculations in GUI.
 
General chit-chat
Help Users
  • 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 The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!
  • The Helper The Helper:
    Happy Wednesday!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    Sticking with the desserts for now the latest recipe is Fried Apple Pies - https://www.thehelper.net/threads/recipe-fried-apple-pies.194297/
  • The Helper The Helper:
    Finally finding about some of the bots that are flooding the users online - bytespider apparently is a huge offender here - ignores robots.txt and comes in from a ton of different IPs
  • Monovertex Monovertex:
    @The Helper I'm really not seeing the "Signature" link in the sidebar on that page. Here's a screenshot:
  • The Helper The Helper:
    I have reported it - I was wondering why nobody I have given sigs to over the last few years have used them
  • The Helper The Helper:
    Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.
  • The Helper The Helper:
    Here is a better place to manage this stuff https://www.thehelper.net/account/account-details which I think should be way more visible
  • The Helper The Helper:
    I am hoping that online user count drop is finally that TikTok bot banned

      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