• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Respawn at beginning

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
Hey does anybody know (besides pharoah_) how to make a unit, when he dies, respawn where he started? not where he died.
 
Level 20
Joined
Feb 24, 2009
Messages
2,999
  • Melee Initialization
    • Events
      • Unit - A unit enters (Entire map)
    • Conditions
    • Actions
      • Set UnitStartLoc = (Region centered at (Position of (Triggering unit)) with size (10.00, 10.00))
and then...

  • Melee Initialization
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Unit - Create 1 (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at (Center of UnitStartLoc) facing (Center of UnitStartLoc)
      • Set UnitStartLoc = (Region centered at (Position of (Triggering unit)) with size (10.00, 10.00))

These aren't leak-free or anything and i'm sure you can edit them to your exact requirements, e.g. revive a select hero :cute:
 
Level 3
Joined
Mar 9, 2010
Messages
38
i can help you
  • Event units dies
  • Condition unit is hero
  • Respawn dying unit at start location
Note im not good at posting but i got it and it respawns my hero everytime he dies
 
Status
Not open for further replies.
Top