Jump to content
Sign in to follow this  
.COMmunist

Force to teamswitch

Recommended Posts

My mission has two parts to it. The sniper clears the area and than 3 paratrooper platoons attack the town. I start as a sniper, but than when sniper's task is complete, I want it to automaticaly switch me to Team Leader of one of the paratrooper platoons. Is it even possible?

Share this post


Link to post
Share on other sites

Take a look at the setPlayable and selectPlayer commands.

It still seem to be buggy though... If you use setPlayable then selectPlayer in a mission which only had a player and no other playable units, then push the teamSwitch button (Y) ArmA crashes. You can avoid this by disabling teamswitch (enableTeamSwitch false) immediately after using selectPlayer.

Share this post


Link to post
Share on other sites

Wolfrug created a work around for using teamswitch.

It might be of some help to have a look at this forum page and the attached demo mission.

Share this post


Link to post
Share on other sites

Very interesting... I'll check it out. Sounds like what I need. Thanks Denz.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×