Jump to content
Sign in to follow this  
Militant1006

Force Teamswitch mid-game

Recommended Posts

How would I get the player in a single player mission to get swapped to another unit?

eg. You start as insurgent, you kill some Coalition guys, then you get swapped to a member of the coalition rescue team.

Share this post


Link to post
Share on other sites

[url=http://community.bistudio.com/wiki/selectPlayer]selectPlayer[/url] [i]nameOfUnit[/i]

In your case, you'd want a trigger to activate once the coalition units are dead, with the above command in activation.

Share this post


Link to post
Share on other sites

Thank you, so my trigger will have this in the condition box

!alive man1 && !alive man2 && !alive man3 && !alive man4

then the on activation box is

selectPlayer sf1

Sounds good ;)

Share this post


Link to post
Share on other sites

{alive _x} count [man1, man2, man3, man4] == 0

That's how I would've written it, works either way though.

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  

×