Aura of Death

LordChicken

New Member
Reaction score
0
im trying to make an aura that whena dead body is affected buy it it is rased as a Zombie:shades:

i know i need a trigger to do this and i cant figure out how to.:banghead:

ive seen it done in a odd vamprism spoof(was rigged but COOL:shades:) and im trying to make my own

eny help? Thank you
 

perkeyone

something clever
Reaction score
71
make a dummy aura and use a trigger so that when the unit that has the aura is within range of a corpse the corpse is raised
 

WolfieeifloW

WEHZ Helper
Reaction score
372
Freehand:
Code:
    Events
        Unit - A unit Dies
    Conditions
        (Dying Unit) = within 700 range of (Killing Unit)
    Actions
        Unit - Create 1 Zombie at (Position of (Dying Unit)) for (Owner of (Killing Unit))
 

I_RULE_YOU

New Member
Reaction score
34
That would just raise corpses that were near the hero when they died. I think he wants it to raise every corpse, regardless if it died near him.

Code:
Aura of Death
    Events
        Map initialization
    Conditions
    Actions
        Set ALLREGION = (Playable map area)



Code:
Aura of Death 2
    Events
        Time - Every 0.01 seconds of game time
    Conditions
    Actions
        Set DeathGroup = (Units in ALLREGION matching (((Level of Aura of Death for (Matching unit)) Greater than 0) and (((Matching unit) is alive) Equal to True)))
        Unit Group - Pick every unit in DeathGroup and do (Actions)
            Loop - Actions
                Set Hero = (Picked unit)
                Set HeroPoint = (Position of Hero)
                Set Zombies = (Units within 700.00 of HeroPoint matching (((Matching unit) is alive) Equal to False))
                Unit Group - Pick every unit in Zombies and do (Actions)
                    Loop - Actions
                        Set ZombiesPoint = (Position of (Picked unit))
                        Unit - Create 1 Death Dummy for (Owner of Hero) at ZombiesPoint facing Default building facing degrees
                        Unit - Set level of Zombies Ability for (Last created unit) to (Level of Aura of Death for Hero)
                        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
                        Unit - Order (Last created unit) to Undead Necromancer - Raise Dead (Picked unit)
                        -------- Give this dummy a custom spell based off Raise Dead, and add your specifications about which zombies are being summoned. --------
                        Custom script:   call RemoveLocation(udg_ZombiesPoint)
        Custom script:   call DestroyGroup(udg_Zombies)

I think that would work.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Code:
Aura of Death
    Events
        Map initialization
    Conditions
    Actions
       [B] Set ALLREGION = (Playable map area)[/B]

Playable map area does not leak, and by setting that variable, you made the variable become a leak.
 

perkeyone

something clever
Reaction score
71
yeah im pretty sure he said affected by an aura
which i interpret as
within range of a unit
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Simply make each unit play it's death animation, pause it, and add locust. That way it can look 'dead' and still be affected. Simply make it be affected by this if it get to a low percent like 1% of their life or even like 1-5 hp.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
He wants it if they die, raise a Zombie...
So when a unit dies, if it's within range, raise a Zombie...
It's so simple and you're all making it so hard :p ...
 

Vassilev

New Member
Reaction score
39
Sorry Wolfie, you're wrong :(

im trying to make an aura that
Code:
whena dead body is affected buy it
it is rased as a Zombie

dead body = body that has been killed.

he did not say:
"When a unit dies while being affected by the aura"

I_RULE_YOU's should work but it has some problems... i seriously dont see the point of setting allergion to the entire map area o.o

Simply periodically select units in a 700 range around the Hero every period with the conditions that they are dead and the actions are simple:
1) remove picked unit
2) create zombie at position of picked unit
 

LordChicken

New Member
Reaction score
0
thanks

thnks ill try each of your ideas and i thank you for helping in my map!!:thup:

i added to all your reps by far i think you have helped me greatly nd im so thankfull<3

thank all of you:)
 

Nexor

...
Reaction score
74
I think it's easier to pick units around the DYING unit when it dies, and if it's a hero and he has this ability, revive the dying unit as a zombie
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top