How do i make a hero have a corpse after death?

ZZY

New Member
Reaction score
1
How do i make so when a hero dies, he has a corpse so i can resurect him?
 

fgw

New Member
Reaction score
1
How do i make so when a hero dies, he has a corpse so i can resurect him?

Something like this'll work I think.

Trigger:
  • Untitled Trigger 035
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Unit - Create a (Unit-type of (Triggering unit)) corpse for Player 1 (Red) at (Position of (triggering unit))
 

Hildagarn

Member
Reaction score
20
Set the unit value thing
Combat - Death Type to
Can Raise Does Decay

not 100% sure though.
 

Tru_Power22

You can change this now in User CP.
Reaction score
144
Should be:
Combat - Death Type (udea)
Can Raise, Does Decay.

It's your name a take on YYZ?

EDIT.
Hildagarn beat me to it.
 

vypur85

Hibernate
Reaction score
803
Anyway, Heroes always have corpse regardless of what you set. Unless you remove it manually.

You notice there's a hero icon at the top left of the screen when you play? When hero dies, it becomes darken. It means the hero is still there... If the icon goes missing, then it has already been removed. Usually it can only get removed via trigger.
 

ZZY

New Member
Reaction score
1
feedback

Something like this'll work I think.

Trigger:
  • Untitled Trigger 035
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Unit - Create a (Unit-type of (Triggering unit)) corpse for Player 1 (Red) at (Position of (triggering unit))

I dont know how to make the variable for "triggering unit" in the first action, is it just a unit variable?

And yea i did get it from yyz :)

Also i the can raise dose decay/dosn't decay don't help matters :)
 

fgw

New Member
Reaction score
1
I dont know how to make the variable for "triggering unit" in the first action, is it just a unit variable?

And yea i did get it from yyz :)

Also i the can raise dose decay/dosn't decay don't help matters :)

I think if you leave it as triggering unit it'll be fine, or you could change it to dying unit.
 
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