HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Revive Trouble!

08-22-2003, 03:55 PM#1
LAlakers126
hey every1, i am making an AoS style map and i finished the revive triggers for death but in game when i use summoning spells such as feral spirit or storm, earth, and fire, it instantly teleports my hero to the revive spot but does not display the death message. Here is one of the triggers if it will help:

Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Hero level of (Triggering unit)) Equal to 1
Then - Actions
Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: The Creator has fal...
Wait 5.00 seconds
Hero - Instantly revive (Dying unit) at (Center of Egypt Spawn <gen>), Show revival graphics
Else - Actions
Do nothing
--------------------------------
that is for the level 1 hero death revival. The triggers continue all the way up to lvl 20 but it is too much to fit here. If any1 knows what is causing this error and how to fix it, plz reply
08-22-2003, 04:21 PM#2
Ak47_Type_R
Laker - You make your triggers way too complicated. Just do something like this (its off my head so it will be rough)

(Don't need a trigger for each level)

Event:
Generic unit Dies

Conditions:
(Dying unit) is a Hero Equal to True

Actions:
Game Message ...
Hero - Instantly revive (Dying unit) at (Center of Egypt Spawn <gen> ), Show revival graphics

Thats just a simple one.

You can add levels per second and etc. But you probably know how, so I won't explain. >.<

Editted: The reason you are automatic moved back to spawn when you deal with feral wolves and storm ultimate is because they are also level 1, Just not heroes. Every unit in the game has a level. One for unit type and other is hero. So you have to let the trigger know you are talking about heroes, not units.
08-22-2003, 04:43 PM#3
Eternal-Agony
If you are making the wait time to revive increase with level it is very easy to write all of the games revival triggers in ONE TRIGGER. If you need help I have a map you can download with that trigger, I was showing my friend how to do it; he is making an AoS map also.
10-09-2004, 01:20 AM#4
Roxter
Quote:
Originally Posted by Eternal-Agony
If you are making the wait time to revive increase with level it is very easy to write all of the games revival triggers in ONE TRIGGER. If you need help I have a map you can download with that trigger, I was showing my friend how to do it; he is making an AoS map also.

If you still have that map, I will sure have a look at it ^^
10-09-2004, 01:32 AM#5
Gandalf2349
Easy somethin like this:

Code:
Events
 -A Unit Dies
Conditions
 {(Dying Unit) is a (Hero) = True}* or whatever you need to check it.
Actions
 -Display text "Haha you died"
 -Wait (5 + (Level of Hero x 2))
 -Revive hero at (Center of (ReviveReg <gen>))

That has memory leaks but you get the general idea.
10-09-2004, 02:57 AM#6
Roxter
Thank's, I'm gonna try that out for sure :)