HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hero Revive Trigger

08-31-2003, 08:10 AM#1
slain.death
I want to know how the revive triggers in DotA and all those other AoS's that have it work. The ones that revive a unit after a certain amount of time, which changes per level. I don't even know were to start really... any help would be nice.
08-31-2003, 08:28 AM#2
cideh
Events
- Unit - A unit dies
Conditions
-- ((Dying unit) is a hero) equal to True
Actions
--- Wait (10.00 + (5.00 * Integer(Hero level of (Dying Unit))) seconds.
---- Hero - Revive (Dying unit) instantly at _Point_, Show/Hide revival graphics.

You may change the formula if you want.

Be sure to change the _Point_ to where you want to revive the hero.
08-31-2003, 09:09 AM#3
Sardonios
Just a little note on what cideh said:
It also has two Display actions. One tells all players the a Hero has died, and the other uses that same calculation as in cideh's post to display to the allies of the player how long it will be before the hero revives. Common sense, really, but you'd be amazed at how many people leave this out.
09-01-2003, 12:13 AM#4
slain.death
Thanks a bunch! :-D
10-06-2003, 02:10 AM#5
callys
Sorry i am super new at this, the first part of this thread helped me, but how do i create the hero level integer variable in cideh's post?

(5.00 * Integer(Hero level of (Dying Unit))) that part