Here is a copy of my trigger list. Im trying to get 4 players on one alliance vs the computer and so far im stumped on how to make the players quit attacking each other on start up. This is what I have so far.
Unit - Any Unit dies * for my win condition the rest without comments is for the alliance grouping*
Game - Map initialization
Local Variables
Player Group 2 = (Empty player group) <Player Group>
Player Group 1 = (Empty player group) <Player Group>
Conditions
(Number of times (Current trigger) has been evaluated) == 1887 *this is for my win condition - - working so far*
Actions
Player - Make all players in (Player group(2)) treat each other as Ally With Shared Vision
Player Group - Add player 6 to Player Group 2
Player - Make all players in (Active Players) treat each other as Enemy
Player Group - Add player 4 to Player Group 1
Player Group - Add player 3 to Player Group 1
Player Group - Add player 2 to Player Group 1
Player Group - Add player 1 to Player Group 1
Player - Make all players in (Player group(1)) treat each other as Ally With Shared Vision
Game - End game in Victory for player 4 (Show dialogs, Show score screen) *win conditions work so far*
Game - End game in Victory for player 3 (Show dialogs, Show score screen)
Game - End game in Victory for player 1 (Show dialogs, Show score screen)
Game - End game in Victory for player 2 (Show dialogs, Show score screen)
Melee - Start the melee AI for all computer players
Here is a copy of my trigger list. Im trying to get 4 players on one alliance vs the computer and so far im stumped on how to make the players quit attacking each other on start up. This is what I have so far.
Unit - Any Unit dies * for my win condition the rest without comments is for the alliance grouping*
Game - Map initialization
Local Variables
Player Group 2 = (Empty player group) <Player Group>
Player Group 1 = (Empty player group) <Player Group>
Conditions
(Number of times (Current trigger) has been evaluated) == 1887 *this is for my win condition - - working so far* Actions
Player - Make all players in (Player group(2)) treat each other as Ally With Shared Vision
Player Group - Add player 6 to Player Group 2
Player - Make all players in (Active Players) treat each other as Enemy
Player Group - Add player 4 to Player Group 1
Player Group - Add player 3 to Player Group 1
Player Group - Add player 2 to Player Group 1
Player Group - Add player 1 to Player Group 1
Player - Make all players in (Player group(1)) treat each other as Ally With Shared Vision
Game - End game in Victory for player 4 (Show dialogs, Show score screen) *win conditions work so far*
Game - End game in Victory for player 3 (Show dialogs, Show score screen)
Game - End game in Victory for player 1 (Show dialogs, Show score screen)
Game - End game in Victory for player 2 (Show dialogs, Show score screen)
Melee - Start the melee AI for all computer players
Melee - Set default melee options for all players