Team Fortress 2
This topic has been locked
Zerged Nov 5, 2013 @ 7:24pm
Searching for "join team" script command
Is there a command to join a particular team that can be used in scripting?
There is is "join_class" to join a certain class. I'm searching for the equivalent that let's you join a particular team.

Would be nice if someone knew.
< >
Showing 1-5 of 5 comments
icehat Nov 5, 2013 @ 8:12pm 
You can use jointeam X, but it only works in spectator mode.
jointeam red
Zerged Nov 5, 2013 @ 8:20pm 
Hm thanks. What I wanted to do is a script that let's me join a particular team and a particular class at the beginning of a round with the click of one button but I think it won't work with this command?
icehat Nov 5, 2013 @ 8:28pm 
Pretty sure you can using the alias command:
alias join_team_and_class "jointeam TEAMNAME join_class CLASSNAME" bind "key" "join_team_and_class"
I'd recommend copypasting this to your autoexec.cfg so you won't have to run it every time you start the game.
Zerged Nov 5, 2013 @ 9:01pm 
I tried that. It kind of works but what I needed is a script that does that kind of thing right at the start of a round. But apparently even with this script it's not possible to skip those welcoming screens that pop up at the round start and you still have to click your mouse or the corresponding keys to select the team/class so I guess I'll just stick to doing it manually. Thans for your help anyway.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Nov 5, 2013 @ 7:24pm
Posts: 5