Remove Non-Players
Moderator: Cheaters
-
TechGeek001
- Member
- Posts: 50
- Joined: December 29th, 2007, 7:34 am
Remove Non-Players
Hi all, I've been looking for a trigger that will remove all unfilled player spots at the start of the game.
-
CrackUps
- Member
- Posts: 96
- Joined: October 6th, 2007, 12:21 am
Re: Remove Non-Players
Clear Unused Slots
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (If (((Picked player) slot status) Not equal to Is playing) then do (Game - Victory (Picked player) (Skip dialogs, Skip scores)) else do (Do nothing))
That should work
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (If (((Picked player) slot status) Not equal to Is playing) then do (Game - Victory (Picked player) (Skip dialogs, Skip scores)) else do (Do nothing))
That should work
-
CrackUps
- Member
- Posts: 96
- Joined: October 6th, 2007, 12:21 am
Re: Remove Non-Players
How does it effect the players playing?
And if the player slot is unfilled how will there be any units to remove?
And if the player slot is unfilled how will there be any units to remove?
-
CrackUps
- Member
- Posts: 96
- Joined: October 6th, 2007, 12:21 am
Re: Remove Non-Players
Doesn't it depend on the victory conditions of the map? In Line Tower Wars for example it has a custom kick built into it
for example if you type -kick blue the trigger achieves victory for the player and the rest of the players carry on
But i understand what you eman about pre placed units yeah i didnt think about that
for example if you type -kick blue the trigger achieves victory for the player and the rest of the players carry on
But i understand what you eman about pre placed units yeah i didnt think about that
-
Arabidnun
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Remove Non-Players
Basically do you want to remove all the units from the feild if the player is not player?
If so, i will ad the triggers for you here if needed
If so, i will ad the triggers for you here if needed
-
TechGeek001
- Member
- Posts: 50
- Joined: December 29th, 2007, 7:34 am
Re: Remove Non-Players
*Problem solved
Thanks for all your input, much appreciated as always!Map Start
Events
Map initialization
Conditions
Actions
Player Group - Add Player 1 (Red) to Map_West
Player Group - Add Player 2 (Blue) to Map_West
Player Group - Add Player 3 (Teal) to Map_West
Player Group - Add Player 4 (Purple) to Map_West
Player Group - Add Player 5 (Yellow) to Map_West
Player Group - Add Player 11 (Dark Green) to Map_West
Player Group - Add Player 6 (Orange) to Map_East
Player Group - Add Player 7 (Green) to Map_East
Player Group - Add Player 8 (Pink) to Map_East
Player Group - Add Player 9 (Gray) to Map_East
Player Group - Add Player 10 (Light Blue) to Map_East
Player Group - Add Player 12 (Brown) to Map_East
Player Group - Pick every player in (All players) and do (Player - Set (Picked player) Current gold to 1000)
Player Group - Pick every player in (All players) and do (If (((Picked player) slot status) Equal to Is playing) then do (Do nothing) else do (Unit Group - Pick every unit in (Units in (Playable map area) owned by (Picked player)) and do (Unit - Kill (Matching unit))))
Player Group - Remove Player 11 (Dark Green) from Map_West
Player Group - Remove Player 12 (Brown) from Map_East
Player Group - Pick every player in (All players) and do (Player - Turn Gives bounty On for (Picked player))