Remove Non-Players

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Remove Non-Players

Post by TechGeek001 »

Hi all, I've been looking for a trigger that will remove all unfilled player spots at the start of the game.
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Remove Non-Players

Post by CrackUps »

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
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Remove Non-Players

Post by tru_power22 »

CrackUps wrote: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

Nope, Victory will also affect the players playing.....
Plus this wont remove units...
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Remove Non-Players

Post by CrackUps »

How does it effect the players playing? :?

And if the player slot is unfilled how will there be any units to remove?
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Remove Non-Players

Post by tru_power22 »

CrackUps wrote:How does it effect the players playing? :?

And if the player slot is unfilled how will there be any units to remove?
In order, When a person achieves victory everyone else loses, so use defeat. If there are preplaced units on the map, the trigger wont get rid of them.
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Remove Non-Players

Post by CrackUps »

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
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Remove Non-Players

Post by Arabidnun »

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
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Remove Non-Players

Post by tru_power22 »

CrackUps wrote: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
I just realized, that wonk work, he wants to clear unfilled player slots, you can't defeat something that isn't there...
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Remove Non-Players

Post by TechGeek001 »

*Problem solved
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))
Thanks for all your input, much appreciated as always!