Corpse Remover

Axe.killer

New Member
Reaction score
24
Hi, is it possible to remove a corpse if a player has left and when his unit has died?
 

Slapshot136

Divide et impera
Reaction score
471
maybe something like -

event- unit dies
conditions - controller of (owner of (triggering unit)) is not equal to user
actions -
create 1 dummy at position of (triggering unit) for (owner of triggering unit)
add a (.1) second expiration to (last created unit)
add (raise dead) to (last created unit)
order (last created unit) to (undead necromancer - raise dead)

and make the raised dead have 0 casting time/mana, and no animation, and the unit raised to last for 0.01 seconds and to be very small
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Code:
defeat
    Events
        Player - Player 1 (Red) leaves the game
        Player - Player 2 (Blue) leaves the game
        Player - Player 3 (Teal) leaves the game
        and so on.
    Conditions
    Actions
        Custom script:   set bj_wantDestroyGroup = true
        Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
            Loop - Actions
                Unit - Remove (Picked unit) from the game

:rolleyes:
 

Axe.killer

New Member
Reaction score
24
thanx

thanx but what i really need is a trigger so that if they already died, and then they left the game, the corpse of all their units dissapears.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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