So... Do you know anything similar to a devmode command to force a team switch? I've looked and found nothing. I think though devmode wasn't supposed to be able to.
Printable View
So... Do you know anything similar to a devmode command to force a team switch? I've looked and found nothing. I think though devmode wasn't supposed to be able to.
You're right; forced team switch is a hack.
You have to change the player's team index in the MP players info part of memory, find out what player index the player has (complicated i think), and then run a (unit_kill) on said player.
Well someone could make a custom dev command code...
wat?
No, that was harsh. Bad Xero is bad. :(
I will add team_change(if it's as easy as kill player and chnge his team index) and more commands when i have time.
Aßyll - its possible to make a zombie gametype that will change player team when hes killed by zombie player. I don't promise anything because drink too often and im sooooooooooooo tiiiiiiiiiirrrrrrrrreeeeeeeeddddd... :]
LOL, that's funny.
From what I understand, to get the player switch to work you need to do the following:
1) Admin executes team switch command on player.
2) App switches the specified players team index.
3) App kills the player after the index is switched so that he'll respawn on the other team.
Hope that helps.
Other commands like...?
*Chants* event_admin_join