Corpse Compulsion

TPOX

New Member
Reaction score
10
This is pretty much a corpse explosion kinda spell but a bit more to it then that but anyway, for some reason at one time i could get ALL the corpses to explode but ever since then only one blows up now. Heres the trigger.... and the PEASANT has the spell that damages the people so he is spawned then casts the explosion and dies.

Code:
Corpse Compulsion
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Corpse Compulsion 
    Actions
        Unit Group - Pick every unit in (Units within 200.00 of (Position of (Casting unit)) 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
 
Then you can just make the peasant damage the entire area... instead of fan of knives lol
 
BUMP... so does no one know how to make it work for more than one corpse in the area? it still wont work, it only does one corpse.
 
This may sound like a crappy solution, but how about making the trigger run multiple times?
 
So what exactly are you compelling the corpses to do? And how? You giving them inspirational speeches to convince them to get up and get involved in the election process?

Really though, maybe the problem is with "last created unit." You may have a problem with the fact that your'e creating a bunch of peasants at once.

And haven't you posted 4 topics about this one ability so far?
 
no this is my 2nd, this topic was made a few days ago anyway... the other is somewhat different........

what are you talking about... elections? what?

well shouldnt it work anyway? you can do a aoe spell like that and it will work fine so why isnt this?

It should be creating a peasant for each corpse, casting a spell and remove.

i also tried this which did absolutely nothing

Code:
Corpse Compulsion Copy
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Corpse Compulsion 
    Actions
        Unit Group - Pick every unit in (Units within 100.00 of (Position of (Casting unit)) 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 100.00 of (Position of (Casting unit)) 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 (Ability being cast) for (Casting unit)))
                Unit - Add a 0.01 second Generic expiration timer to (Picked unit)
                Unit - Order (Picked unit) to Night Elf Warden - Fan Of Knives
 
Heres an option, I see why you didnt want to damage area, because the more corpses the more dmg. But you could do something like

Make <Dummy> damage area of size (200 + (Number of units within 200 of target point of ability being cast matching (Matching unit is dead equal to true) x 25)) at (Target point of ability being cast) for (30 x (Number of units within 200 of target point of ability being cast matching (Matching unit is dead equal to true))) using attack type Chaos and damage type Normal

So its initial radius is 200, then its +25 for every corpse, and its 30xnumber of corpses damage. If its multiple levels then you just have to add something like x level of corpse complusion or whatever. Get it? Then you just need the effects and conditions (If no corpses dont follow-through... etc)


Or if you still want to make that fan-of-knives do something like...

Unit - Create (Count units - Number of units within 200 of (Target point of ability being cast matching (Matching unit is dead equal to true)) Dummy-Unit for (Owner of Casting unit) at (Target point of ability being cast)
Unit Ground - Order (Last created unit group*) to Warden - Fan of knives

*Last created unit group takes all units created with 1 creation triggers. Im sure it has a leak because it creates a unit group, but I dont know much about that.
 
As just i saw, i think the problem in first post would have been that there is order to create just 1 peasant, not few. Well i just might be wrong .Anyways, as author said, he fixed it himself
 
The whole elections thing was just a comment on your choice of words for the ability name. That's all.
 
>.< well i couldnt think of a better name for a spell that stomps on corpses exploding them. compulsion is like the impulse to act or something i dunno... u think of a better name... something with C C. :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Today I had to scramble, I didn't work most of dinner service and no one told me shit. They had a rough few hours lol
  • Varine Varine:
    I have two salmon, Sockeye and Atlantic. Atlantic is used for the kids salmon and the salmon and beet salad, and can also be added onto any dish or just as a side. Atlantic salmon will almost exclusively ever be FARMED, as it is endangered in the wild, and we ALWAYS cut them to 4 ounces.
  • Varine Varine:
    SOCKEYE salmon, very different and this IS wild caught. We have an ENTREE version, and an add on version. The entree is 7 ounces, the add on is 4. Why? Because that is how someone that wasn't me set up the computer.
  • Varine Varine:
    I had to have this conversation like ten fucking times tonight
  • Varine Varine:
    The issue being, I came into work and had none of this whatsoever
  • Varine Varine:
    No one told me shit
  • Varine Varine:
    So, taking into consideration that what I typed out up there is kind of some fucking nonsense that under normal circumstances no one really needs to fucking be able to explain in any rational way
  • Varine Varine:
    Let alone trying to figure it out from a wildly stressed out me that is also on a phone call trying to get something to show up from Seattle tomorrow while trying to explain this salmon situation, that also is barely solved in maybe a few hours and and but I am bulking it with a few steelhead filets I have and that is a WHOLE fucking different thing to the 19 year old server that got put on day shift C crew that doesn't know who I am.
  • Varine Varine:
    I did however really want days. I like getting off at 4 half the time, and that makes it worth it!
  • Varine Varine:
    Also I hate my job right now but I think that was the hard part. Now it's just work
  • Varine Varine:
    @jonas I'm sorry? I don't know what you're referring to.
  • Varine Varine:
    Once we hit winter I feel like I get to back to having a pretty cool job. Like I bitch about it all the time, but it's work. I'm still gonna bitch
  • Varine Varine:
    All in all though I think this summer is going really well. Some complicated things, but at the end of the day it isn't THAT big of a deal. Not all of our servers have quite realized they are technically sales
  • Varine Varine:
    Like yeah it is a substitute, but FOMO. Chef isn't getting this again this year, he has to figure it out, so it's slightly off on the menu, but that is more or less the LOWEST quality and price. Right now, steelhead is a real stealhear, right?
  • Varine Varine:
    Like fuck off even I can do it
  • Varine Varine:
    I am going to get one of my servers to do that in her server voice and you'll see my point
  • Varine Varine:
    Maybe the bartender. Idk, it's one of my favorite things to hear them go from calm to customer service voice. They will translate it to like "The chef is trying to change that a bit right now so he does have a Alaskan river steelhead. Yeah like the one you might fish probably!" And then the girls can bat their eyes and do pretty girl server shit
  • Varine Varine:
    At least that's how imagine some of them. Did you know mayonnaise is dairy free? A suprisingly amount of people don't\
  • The Helper The Helper:
    mayo is eggs right?
  • The Helper The Helper:
    Seems I never watched the Witcher - looks like i have a lot of content
  • The Helper The Helper:
    Season 1 Episode 8 the marathon continues...
  • jonas jonas:
    mayo is eggs & oil
    +1
  • The Helper The Helper:
    I got halfway season 2 on The Witcher and it lost me. I am going to have to pick this one up again later.
  • jonas jonas:
    season 2 is with the new actor right? it's so far below the first one
  • The Helper The Helper:
    first season was good the 2nd season is bleh I hope I can make it through it for 3

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top