Help With Triggers please
Moderator: Cheaters
-
- Senior Member
- Posts: 146
- Joined: June 5th, 2007, 12:51 am
- Location: California
Help With Triggers please
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.
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
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!
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!
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
-
- Senior Member
- Posts: 146
- Joined: June 5th, 2007, 12:51 am
- Location: California
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA