Help With Triggers please

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
Lacos
Senior Member
Posts: 146
Joined: June 5th, 2007, 12:51 am
Location: California

Help With Triggers please

Post by Lacos »

Anyone know how to do respawn trigger?( When you type -respawn, you can respawn everytime ur dead )
Life is like a game of cards. The hand that is dealt you represents determinism; the way you play it is free will.
namespoofer
V.I.P.
Posts: 332
Joined: March 4th, 2007, 12:39 am
Location: United States

Post by namespoofer »

respawn
Events
Player - Player 1 (Red) types a chat message containing -respawn as An exact match
Player - Player 2 (Blue) types a chat message containing -respawn as An exact match
Player - Player 3 (Teal) types a chat message containing -respawn as An exact match
Player - Player 4 (Purple) types a chat message containing -respawn as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A Hero) Equal to True
Then - Actions
Hero - Instantly revive (Picked unit) at (Center of (Playable map area)), Show revival graphics
Camera - Pan camera for (Owner of (Picked unit)) to (Center of (Playable map area)) over 0.00 seconds
Else - Actions


Replace the (Center of (Playable map area)) with the region you want your hero to be revived at!
Image
Doesn't Dekar make the world easier?

"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"

Catch me on Azeroth (U.S. East) - NameSpoofer
User avatar
Lacos
Senior Member
Posts: 146
Joined: June 5th, 2007, 12:51 am
Location: California

Post by Lacos »

That's lot of work. Thx

spoof: Oh, almost forgot, put this with the other condition

((Picked unit) is dead) Equal to True

put it below the
((Picked unit) is A Hero) Equal to True
Life is like a game of cards. The hand that is dealt you represents determinism; the way you play it is free will.
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

I respawn my heros at an allys start location which works great for dota and a few other maps... just... if you wnated to know =]