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

Reviving Help

Status
Not open for further replies.
Level 2
Joined
Nov 4, 2005
Messages
14
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:
regulartrigger9sd.gif
 
Level 4
Joined
Feb 12, 2006
Messages
99
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.
 
Level 4
Joined
Nov 24, 2004
Messages
70
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.
 
Status
Not open for further replies.
Top