Victory Defeat help

C

Canadianace

Hey its Canadianace again... anyway having some trouble with another map im making. See i have two towers that team 1 has to destroy to win and two different towers that team 2 has to destroy to win and each team has 5 players I cant figure out how to set this in triggers... so far wut ive got for team 1 is

Condition
-Tower1 is dead equal to true
-Tower2 is dead equal to true

Action
-Player Group - Pick every player in {all allies of player 1 {Red}} and do {Game - Victory Player 1 {Red}{Show dialogs,Show scores}}

This cant be right tho because then itll cause only one player on each team the victory popup
 

Dethstalker

Member!
Joined
Apr 11, 2004
Messages
109
Reaction score
0
Location
Clearwater, Florida
Website
www.game-grounds.com
Ah this one isn't hard ... here are the triggers... I made them asuming you have the first 3 players on team 1 and the 2nd 3 players on team 2
i also made the towers Scout towers when i made the trigger

------------------------------------------------------------

Team 1
Events
Unit - Scout Tower 0002 <gen> Dies
Unit - Scout Tower 0003 <gen> Dies
Conditions
(Scout Tower 0002 <gen> is dead) Equal to True
(Scout Tower 0003 <gen> is dead) Equal to True
Actions
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Game - Victory (Picked player) (Show dialogs, Show scores))
Player Group - Pick every player in (All allies of Player 4 (Purple)) and do (Game - Defeat (Picked player) with the message: Defeat!)


------------------------------------------------------------

Team 2
Events
Unit - Scout Tower 0000 <gen> Dies
Unit - Scout Tower 0001 <gen> Dies
Conditions
(Scout Tower 0000 <gen> is dead) Equal to True
(Scout Tower 0001 <gen> is dead) Equal to True
Actions
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Game - Defeat (Picked player) with the message: Defeat!)
Player Group - Pick every player in (All allies of Player 4 (Purple)) and do (Game - Victory (Picked player) (Show dialogs, Show scores))


------------------------------------------------------------

{Game - Victory Player 1 {Red}
yours wouldnt work because you have Pick Every player but you have it so it only showes player 1 you have to have (Game - Victory (Picked player) that way it shows all the picked players
 

NewPosts

New threads

Top