• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Revive

Status
Not open for further replies.
Level 20
Joined
Oct 21, 2006
Messages
3,230
Unit dies

Unit is hero
Boolean[player number of owner of triggering unit] equal to True

Set variable Boolean[player number of owner of triggering unit] = False
Wait 2.00 seconds
Revive triggering unit at position of dying unit
 
Level 4
Joined
Apr 24, 2008
Messages
95
Ok wait i got pick hero system and if you picked hero he get ankh but how to put in his inventory ankh??? there are 10 players
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
You can just use my example on a few posts below, so you dont have to consume one inventory slot for the revive system.

Event (Unit) - Unit sells unit
Condition (Boolean)- Sold unit is hero equal to true
Actions (Hero) - Create 1 Ankh for sold unit

Or if you have another kind of picking system you could try entering unit or whatever your event is based on.
 
Status
Not open for further replies.
Top