Corpse Explosion Suddenly Stops Working?

TPOX

New Member
Reaction score
10
I made a corpse explosion a few days ago and its based off a spell that does nothing with a AOE target and the dummy has fan of knives. The spell was working fine till a few minutes ago it didnt work no idea why, even turned every other trigger off and checked the dummy caster ect EVERYTHING!

Code:
Corpse Explosion
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Corpse Explosion Caster
    Actions
        Unit Group - Pick every unit in (Units within 200.00 of (Target point of ability being cast) matching (((Matching unit) is dead) Equal to True)) and do (Actions)
            Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Corpse Explosion Caster
                (Level of Corpse Explosion Caster for (Casting unit)) Equal to 1
            Then - Actions
                Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
                Unit - Set Level of Corpse Explosion  for (Last created unit) to 1
                Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Corpse Explosion Caster
                (Level of Corpse Explosion Caster for (Casting unit)) Equal to 2
            Then - Actions
                Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
                Unit - Set Level of Corpse Explosion  for (Last created unit) to 2
                Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Corpse Explosion Caster
                (Level of Corpse Explosion Caster for (Casting unit)) Equal to 3
            Then - Actions
                Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
                Unit - Set Level of Corpse Explosion  for (Last created unit) to 3
                Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Corpse Explosion Caster
                (Level of Corpse Explosion Caster for (Casting unit)) Equal to 4
            Then - Actions
                Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
                Unit - Set Level of Corpse Explosion  for (Last created unit) to 4
                Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
            Else - Actions
                Do nothing

Does anyone see anything wrong because I dont.
 
Ok i take that back.... i changed it but now only 1 corpse explodes not all of them in the 200 yard area.

Code:
Corpse Explosion
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Corpse Explosion 
    Actions
        Unit Group - Pick every unit in (Units within 200.00 of (Target point of ability being cast) matching (((Matching unit) is dead) Equal to True)) and do (Actions)
            Loop - Actions
                Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
                Unit - Set Level of Corpse Explosion (Dummy) for (Last created unit) to (1 x (Level of Corpse Explosion  for (Casting unit)))
                Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
 
TPOX said:
Ok i take that back.... i changed it but now only 1 corpse explodes not all of them in the 200 yard area.
The trigger looks fine. Just try stuff like making the expiration time longer, making sure the dummy unit is invulnerable, etc.
 
you could use the action "Explode unit"

make the event "Finishes casting an ability"

becuz it would be wierd to start a spell and have all units explode and you're not even done.
 
meant to have the effect of ability
dont use explode unit because i have a spell that all dummy units cast that are from the dead corpses.
i double checked again and everything is set fine. >.< dunno what is wrong.
 
well if anyone can think of something post it ill be back tommorrow, somethings wrong and i bet its something small but the dummy unit spawns and does his spell and goes away, but if theres more than 1 corpse in the 200 yard radius there supposed to all blow up but they arent, and I dont know why.
 
whers the part of the trigger that makes the body blow up :confused: or is it the spell itself?
 
its the fan of knives, the dummy unit has a fan of knives based spell.
 
the body doesnt blow up, it creates a dummy unit on a dead corpse and casts an ability that looks like corpse exploding and it does damage.
 
ok thats what i thought.


it probably happens because instead of saying something along the lines of for every picked unit, create a peasant, it just says create 1 peasant. i cant think of anything else sry :confused:


but that wouldnt make any sense as far as being different between the triggers...
 
No, it's because it's (last created unit). You will need two Unit Groups.

The first picks all of the dead units and gives them an exploder dummy.

The second picks all of the exploder dummies and makes them explode.

Something like this....

Code:
Corpse Explosion
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Corpse Explosion 
    Actions
        Unit Group - Pick every unit in (Units within 200.00 of (Target point of ability being cast) matching (((Matching unit) is dead) Equal to True)) and do (Actions)
            Loop - Actions
                Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
        Unit Group - Pick every unit in (Units within 200.00 of (Target point of ability being cast) matching (Unit Type of (matching unit) is equal to Peasant) and do (Actions)
            Loop - Actions
                Unit - Set Level of Corpse Explosion (Dummy) for (Picked Unit) to (1 x (Level of Corpse Explosion  for (Casting unit)))
                Unit - Add a 0.01 second Generic expiration timer to (Last created unit)
                Unit - Order (Picked Unit) to Night Elf Warden - Fan Of Knives
 
grrrr i start up the map and half the trigger is gone. triggers are randomly disappearing, this is strange. Anyway, ill try what you said, just a bit odd that it worked find earlier as the very FIRST post but suddenly didnt.
 
well i did this and now not even 1 corpse will explode >.<

Code:
Corpse Explosion
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Corpse Explosion 
    Actions
        Unit Group - Pick every unit in (Units within 200.00 of (Target point of ability being cast) matching (((Matching unit) is dead) Equal to True)) and do (Actions)
            Loop - Actions
                Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Picked unit)) facing (Position of (Picked unit))
        Unit Group - Pick every unit in (Units within 200.00 of (Target point of ability being cast) matching ((Unit-type of (Matching unit)) Equal to Peasant)) and do (Actions)
            Loop - Actions
                Unit - Set Level of Corpse Explosion (Dummy) for (Picked unit) to (1 x (Level of Corpse Explosion  for (Casting unit)))
                Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
                Unit - Order (Picked unit) to Night Elf Warden - Fan Of Knives
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top