Jump to content
Sign in to follow this  
Cpl Ryan

Making a unit leave a group

Recommended Posts

OK, i expect this has been asked allready, but i cant find it so i'll ask again:

can you have a unit leave a group mid game?

The idea is that you are a downed pilot and a squad of spec ops come to resue you and bring you out of enemy territory and then leave to do their own thing... is this possible or is this just not going to work?

thanks in advance smile.gif

Share this post


Link to post
Share on other sites

nope...doesnt work sad.gif error about arrays comes up confused.gif

Share this post


Link to post
Share on other sites

Try [PilotName] Join GrpNull. See command reference:

unitArray join group

Operand types:

unitArray: Array

group: Object or Group

Type of returned value:

None

Description:

Join all units in the array to given group. Note: total number of group members must not exceed 12. Note: This function is unsupported in MP in version 1.33 and before.

Example:

[unitOne, unitTwo] join player

Share this post


Link to post
Share on other sites

cheers works now biggrin.gif seems the brackets were needed

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  

×