2nd47 10 Posted August 1, 2009 I've come across another issue I'm having and I'm wondering if it's possible and if so how would I go about changing a player's side and team slot upon death. By this I mean: Blufor1 gets killed by Opfor1 dies, he then automatically switches teams and becomes Opfor3 and spawns as that. If this is possible it would be much appreciated if you would help me out, thanks. Share this post Link to post Share on other sites
sbsmac 0 Posted August 1, 2009 I'm not sure if you can change team/side in MP but this code shows you how to change body.. _o = player ; enableTeamSwitch true ; _dg = createGroup west ; _n = _dg createUnit ["WildBoar", position player, [], 0, "NONE"]; addSwitchableUnit _n ; selectPlayer _n; removeswitchableUnit _n ; deleteVehicle _o ; Share this post Link to post Share on other sites
kylania 568 Posted August 1, 2009 Why would you ever want to automatically switch teams? o.O Share this post Link to post Share on other sites
sbsmac 0 Posted August 1, 2009 There's a particular game type I have in mind where this would be useful :-) Share this post Link to post Share on other sites
2nd47 10 Posted August 2, 2009 There's a particular game type I have in mind where this would be useful :-) As do I :-) Share this post Link to post Share on other sites