Warcraft III resources & community, 2003–2006 · archived

Simple trigger assistance please

7 posts
#1

Simple trigger assistance please

im not a "noob" map maker. But when i ask this ull proly think im an idiot. ok here...

Im making an RPG. its just an ocean. with several islands everywhere. ok...i want it so when your character dies, he respawns at the island he died on. Not on some....WAIT I JUST THOUGHT OF SOMETHING! maybe make when unit enters a reigon (island 1) another trigger enables, making respawn on that island. Well, ill try but plz help me? :?
#2
say what? make up your fecking mind.

Your first idea...

Revive System
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is A Hero) Equal to True
    Actions
        Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Hide revival graphics

Simple eh?

Now explain what you mean with you idea because it has confused me.
#3
I think he means more something like every island contains a temple, and at that temple h'll respawn, if he dies at that island...

it'd be a cool idea however :)
#4
Yeah, thats what i mean but not a temple. Just a reigon that is at the entrance to the island. Last night, i did it though, it prospers. But if i ned help ill post more
#5
ok then, well good luck with that.
#6
I'd do it the following way:

Trigger 1:

Unit enters region 1
Set (boolean) variable (island1) to 'true'

Trigger 2:
A unit dies
Condition: unit type equal to the hero AND variable (island1) equal to true
Action: Revive unit at that region?
#7
just make rects that cover 1 island each. when u hero dies withing 'rect at island 1' then revive hero at 'revive place island 1'