• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Switching team in a ranked match
#1
Exclamation 
Hi people,

I try to switch a player from team in a ranked match I started with Liberation using F4 > F5, and this code:
Code:
<player> maps\mp\gametypes\_menus::addToTeam( "<team>" );

While this does switch the player the following things go wrong:
- You still see your old team as friendlies.
- You see your new team as enemies.
- HUD shows your old team icon.
- The menu shows the new team icon but with the name of the old team.
- At the scoreboard you are still in the old team.
- The minimap shows your old team as friendlies.
- The minimap shows your new team as enemies.

As host I can use F6 (Liberation shortcut) to fix all of the above if I switch from team.
Setting the following code does solve the problem but then nobody joins:
Code:
setDvar( "xblive_privatematch", "1" );

Please take a look if you can help me in any of these ways:
A. If you know what is wrong, reply the fix. Big Grin
B. Confirm you get the same result with the code I attached.
C. Know what code is (possibly) behind the F6 shortcut.
D. Know a workaround to open a private match.
  Reply
#2
Bring up my post.
Wink
I still hope a genius will come across this thread.
  Reply
#3
Try to switch first to spectator, add a "wait 1;" then switch to desired team.
[-] The following 1 user says Thank You to RaZ for this post:
  • TemeraireTeamp
  Reply
#4
(01-22-2014, 21:52)TheRaZ Wrote: Try to switch first to spectator, add a "wait 1;" then switch to desired team.

@TheRaZ : Thanks for your reply I really appreciate it. But adding a wait doesn't work, already tried it before.
You know something else I could try?
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)