Warcraft III resources & community, 2003–2006 · archived

Reviving Help

4 posts
#1

Reviving Help

I know how to do a regular Reviving Trigger, but the map I am making needs something different.

In this game you can travel to different Islands, but when you leave one Island, you can't go back to the old one.Is there a way to Revive this way?



How would you make it out of this:
http://img423.imageshack.us/img423/2214/regulartrigger9sd.gif
#2
I don't know exactly what you mean... if you go to an island you cannot go back and revive at the current island right?

If so: Make a variable region that changes and when a unit enters the island make it so that it changes the region variable. You then vary the revival region on that variable.
#3
Thats correct, but could you or anybody give me an example?
#4
yes...

Ok what i think Xander- was saying is this...
make a trigger liek this:

Event- unit enters region

Action-if region is **** then do Set- Revive_Region[1]=(your Region)
else do:if region is **** then do: Set- Revive_Region[2]=(your region#2)
" "
" "

Do that for how ever anyn diff islands u have then make a trigger that sets what region your hero is in

Event: UNit dies
Condtion: dieing unit is a hero= true
Action: For each intiger (how ever many diff islands u have) do: If- revive_region[int A]= to 1
/then do- Revive hero instantly at revive_region[int A]
/else do-if revive_region[int A]= to 2
/then do revive hero instantly at revive_region[int A]
etc.... it goes on to all your regions

Anyways this may not be 100% correct but it may provide a slight visual to how you do it. Hopefully im right lol.