- Joined
- Jan 23, 2009
- Messages
- 74
Hi i've been trying to make a trigger to even out the teams on my map via swapping a leaver for a player
i've searched nonstop on the net to find one but found none
so i tried to wing it This is what i did so far,:
1st trigger to set player #'s
Set players
Events
Map initialization
Conditions
Actions
Set Players[10] = Player 12 (Brown)
Set Players[9] = Player 11 (Dark Green)
Set Players[8] = Player 10 (Light Blue)
Set Players[7] = Player 9 (Gray)
Set Players[6] = Player 8 (Pink)
Set Players[5] = Player 6 (Orange)
Set Players[4] = Player 5 (Yellow)
Set Players[3] = Player 4 (Purple)
Set Players[2] = Player 3 (Teal)
Set Players[1] = Player 2 (Blue)
then i started the re balance trigger but thus far i am stumpped
rebalance
Events
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 12 (Brown)))) as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in (All allies of Player 1 (Red))) Not equal to (Number of players in (All allies of Player 7 (Green)))
Then - Actions
Else - Actions
Can any one help me?
i've searched nonstop on the net to find one but found none
so i tried to wing it This is what i did so far,:
1st trigger to set player #'s
Set players
Events
Map initialization
Conditions
Actions
Set Players[10] = Player 12 (Brown)
Set Players[9] = Player 11 (Dark Green)
Set Players[8] = Player 10 (Light Blue)
Set Players[7] = Player 9 (Gray)
Set Players[6] = Player 8 (Pink)
Set Players[5] = Player 6 (Orange)
Set Players[4] = Player 5 (Yellow)
Set Players[3] = Player 4 (Purple)
Set Players[2] = Player 3 (Teal)
Set Players[1] = Player 2 (Blue)
then i started the re balance trigger but thus far i am stumpped
rebalance
Events
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 2 (Blue)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 3 (Teal)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 4 (Purple)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 5 (Yellow)), (Player number of Player 12 (Brown)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 8 (Pink)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 9 (Gray)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 10 (Light Blue)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 11 (Dark Green)))) as A substring
Player - Player 2 (Blue) types a chat message containing (Substring(-switch, (Player number of Player 6 (Orange)), (Player number of Player 12 (Brown)))) as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of players in (All allies of Player 1 (Red))) Not equal to (Number of players in (All allies of Player 7 (Green)))
Then - Actions
Else - Actions
Can any one help me?