HappyG 0 Posted December 5, 2006 Hm... not sure if I am missing something, but I have a MP mission in work, and it does include a teamSwitch dialog at some point to switch to another group. It does work when I test it in editor, and it does work as a single player mission, however when I tried it as a multiplayer mission (being the only player, hosting it myself), teamSwitch dialog does't want to pop up. I threw in some debugg messages, and script seems to normaly run over the teamSwitch line. There are enough units you can switch to and I can also force role switch with selectPlayer. enableTeamSwitch is true. Any ideas what might be wrong? Share this post Link to post Share on other sites
hoz 0 Posted December 5, 2006 AFAIK TeamSwitch doesn't work in MP only SP. Share this post Link to post Share on other sites
rundll.exe 12 Posted December 5, 2006 Thats disappointing. But force role switch with selectPlayer does work? Share this post Link to post Share on other sites
whisper 0 Posted December 6, 2006 Thats disappointing. But force role switch with selectPlayer does work? The most important question ever. Tell me is does work indeed, plz Share this post Link to post Share on other sites
whisper 0 Posted December 6, 2006 Thats disappointing. But force role switch with selectPlayer does work? The most important question ever. Tell me is does work indeed, plz And the answer is : YES Thanks Lupus for testing Share this post Link to post Share on other sites
HappyG 0 Posted December 7, 2006 It does indeed, which is exactly why I though teamSwitch should work aswell. Basicly you can script your own working teamSwitch dialog using selectPlayer, so I do not really understand why teamSwitch doesn't work... Share this post Link to post Share on other sites
CameronMcDonald 146 Posted December 7, 2006 Cancel that, I'm just too damn good to be believed. Share this post Link to post Share on other sites
KaRRiLLioN 0 Posted January 28, 2007 AFAIK, teamswitch does work, but I think you might need to be in the group, or be leader of that group because it has to be local to you to work properly. I've had it work in MP before with the switch dialog, but when I took over the non-local unit, I couldn't control it. I have a mission that will move the player to a new group after death, create a unit, then move the player into that unit using selectPlayer, but I haven't tried it with the switch menu yet. Share this post Link to post Share on other sites
fasad 1 Posted April 24, 2007 I'm dragging this old topic up rather than making a new one about the same topic. I'm trying to make a MP mission in which players can change classes (unit models). To do this, I'm trying to use the selectPlayer command. I can get the player to control a unit local to his client, but it seems his multiplayer ID stays with the old unit. The player adopts the name of the formerly AI controlled unit (eg, John Smith). Also interacting with anything using the new unit seems to = client and/or server CTD. Can anybody show me an example of how to successfully use selectPlayer? Share this post Link to post Share on other sites
Op4 BuhBye 0 Posted April 24, 2007 Team switch is on the BugList. Share this post Link to post Share on other sites
fasad 1 Posted April 24, 2007 I can't see any bug that relates to the issues I'm having, and have seen numerous reports that select player functions correct in MP. Share this post Link to post Share on other sites
whisper 0 Posted April 24, 2007 you first need to be sure the unit you try to selectPlayer to is local to player's PC. You can force this by making said unit join the player's group first. I don't know if it will transfer player's identity to new unit, though. AFAIK it doesn't do it in SP, so it shouldn't in MP. Share this post Link to post Share on other sites
fasad 1 Posted April 24, 2007 Quote[/b] ]you first need to be sure the unit you try to selectPlayer to is local to player's PC. You can force this by making said unit join the player's group first. I don't know if it will transfer player's identity to new unit, though. AFAIK it doesn't do it in SP, so it shouldn't in MP. It took me a while to figure out what was happening, but I've already figured that out. I'm not especially concerned about the player identity, but the crashes are pretty undesirable. Did you encounter this problem when actually using the switched to unit? Share this post Link to post Share on other sites