Page 1 of 1
Yo Erik, need help
Posted: Sat Dec 26, 2015 10:19 pm
by Caladbolg
Hey Erik, I'm looking for a quick tutorial on banning someone from a SC2 map.
I'm guessing it has to do with finding a players real ID (the bank number) no clue how to do that
Then with a map init + player has ID#xxx, cause loss. Not sure what the Condition of a player ID would be though
Re: Yo Erik, need help
Posted: Wed Dec 30, 2015 7:17 am
by Degra
Might as well do it as CC does it:
When you press "F12" to open Help, there is a section displaying all concurrent player's IDs.
You screenshot them and provide them to the map author to ban them.
Now as a map author you would just look up how to gather the SC2 ID,
how to create a section in "Help",
and how to export them as strings there.
Re: Yo Erik, need help
Posted: Sat Jan 02, 2016 4:11 am
by Siretu
In SC2, the ID is called "player handle". Assuming you have the player handle of the person you're trying to ban, you can just have a trigger on map init that loops through all the players and for all players, checks them against a list of banned players. If it matches, you end the game for them.
You'll have to hardcode the ban in and update the game to get the ban in effect.