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
Yo Erik, need help
Moderator: Degra
Yo Erik, need help
WhyteDragon wrote:"[...]As to what Caladbold said -- he's right.[...]"
Discord Server
Better replay suggestion
Merwins-island.dyndns.org Unofficial Teamspeak server.
- Degra
- CCA
- Posts: 233
- Joined: Wed Jan 23, 2013 6:00 pm
- Wiki edits: 0
- Location: Baden-Württemberg, Germany, EU
Re: Yo Erik, need help
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.
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.
- Siretu
- Creator
- Posts: 1019
- Joined: Sat Jun 16, 2012 5:00 pm
- Wiki edits: 115
- Location: In the SC2 Editor
- Contact:
Re: Yo Erik, need help
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.
You'll have to hardcode the ban in and update the game to get the ban in effect.
Never ignore coincidence. Unless, of course, you’re busy. In which case, always ignore coincidence.