• 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.

standard triggers hero respawn in 2 teams

Status
Not open for further replies.
Level 2
Joined
Jul 31, 2012
Messages
14
Hi there .. i want to ask the triggers to make hero respawn like pudge wars
like this picture:
ramudengtenan.jpg

what should i do first? im so confusing .. anyone help me? this is for 2 teams (team 1 & team 2)
Thanks before
:goblin_boom:
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Create a point array and set 1, 2, 3, 4, 5 left side, and 6, 7, 8, 9, 10 the right side. When a Pudge has to revive, if the player index of the owner of the unit is less than or equal to 5, then reviev pudge at Point[Random Integer Between 1 and 5]. Else, Revive pudge at Point[Random Integer Between 6 and 10.]

You can set the points using JASS X/Y or using "Center of Region" and 10 small regions.
 
DSG if he don't know how to respawn hero in 2 different locations using GUI then how you expect from him to check script with over 5000 lines of jass code.

Anyway just do next, when hero die, wait XX sec, then revive triggering unit on triggering unit starting location.
You can pan camera for owner of triggering unit to it's location later and so on.
 
Level 2
Joined
Jul 31, 2012
Messages
14
Create a point array and set 1, 2, 3, 4, 5 left side, and 6, 7, 8, 9, 10 the right side. When a Pudge has to revive, if the player index of the owner of the unit is less than or equal to 5, then reviev pudge at Point[Random Integer Between 1 and 5]. Else, Revive pudge at Point[Random Integer Between 6 and 10.]

You can set the points using JASS X/Y or using "Center of Region" and 10 small regions.
Thanks for help bro :goblin_good_job:

Look at how they did it in pudge wars. If the map does not open in the editor use a MPQ browser to view the map script directly.
oh, where i can get the MPQ browser, sir? thanks ..

DSG if he don't know how to respawn hero in 2 different locations using GUI then how you expect from him to check script with over 5000 lines of jass code.

Anyway just do next, when hero die, wait XX sec, then revive triggering unit on triggering unit starting location.
You can pan camera for owner of triggering unit to it's location later and so on.
Thanks for help, sir .. i'll try

to all : Thanks for fast responses guys .. you're awesome :ogre_haosis:
 
You can find it here for example: http://www.hiveworkshop.com/forums/tools.php

  • This
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Wait 20.00 seconds
      • Set p = ((Owner of (Triggering unit)) start location)
      • Hero - Instantly revive (Triggering unit) at p, Show revival graphics
      • Camera - Pan camera for (Owner of (Triggering unit)) to p over 0.00 seconds
      • Custom script: call RemoveLocation ( udg_p )
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
oh, where i can get the MPQ browser, sir? thanks ..
The internet...

Hive workshop has a few in its tools section but those are mostly dated. There is a high quality one provided by the team that makes the most popular MPQ library and the one I recommend but I forget its name (not on my computer atm). There is also some experimental one advertised in the tools forum that some person has just made that uses the mentioned library but I have no idea if it is good.
 
Status
Not open for further replies.
Top