• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Revive

Status
Not open for further replies.
Level 20
Joined
Oct 21, 2006
Messages
3,231
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,231
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