• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to make a respawn for hero

Status
Not open for further replies.
Level 2
Joined
Oct 5, 2008
Messages
14
hey guys, i need some help on how to make my hero
respawn just like in DOTA and in Fight of character,

and how to
-set the time of respawn.
-set the region where to respawn my hero.

thx
 
  • Events
    • Unit - A Unit dies
  • Conditions
    • triggering Unit is a Hero equal to true (in boolean comparison)
  • Actions
    • Wait - wait 20 seconds
    • Unit - instantly revive triggering Unit at center of <your region> ahowing revival animation
create the region in region palett in select it in the trigger then
 
hey how do i make the

Unit - instantly revive triggering Unit at center of <your region> ahowing revival animation

cuz i cant find it in the "Unit" what is its original name in the "Configure action" botton
 
i think it would be better to use the event, 'a unit becomes revivable'
then for the action, u create a countdown timer and name it X (or wateva u want) then start this timer with # seconds, up to u to decide, can also have a formula, e.g. 10 seconds + level of hero x 3 or soemthing.
remember to store the triggering unit in a variable

make a second trigger that detects when the timer expires in your first trigger, and then the action would be to revive (stored unit) at (wherever).

u will need this sort of trigger if you want a revival system similar to dota (since dota revival is based on hero level) and also, optionally u can add the dota revival countdown timer using a leaderboard. this wouldnt be possible if you simply used the wait function, because the wait function is inaccurate.

the revival system for FOC is far simpler, u can go straight from 'unit becomes revivable' to 'revive hero at bla bla' in one trigger
 
yeah you can do it very simple like numerion does but then every time the respawn time is 10 sec. equal at each lv
i also wound recomend pozor's system then the respawn time increase for each lvl
 
Status
Not open for further replies.
Back
Top