Jump to content
Sign in to follow this  
_BARNS_

unit leave player group

Recommended Posts

I have some soldiers / units in my group after the mission starts,

now i want em to leave my group if we reach a trigger. What do i have to write into the init line?

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this joingroup 0

unfortunatelly this is not working but i am not deep in that too biggrin_o.gif

Share this post


Link to post
Share on other sites

If you want to be alone you put in the on act:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[player] join grpNull

If you want two out of four(total) to leave

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[(units (group player)) select 1,(units (group player)) select 2] join grpNull

Or if you named them in the editor

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[Guy2,Guy3] join grpNull

Share this post


Link to post
Share on other sites
If you want two out of four(total) to leave

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[(units (group player)) select 1,(units (group player)) select 2] join grpNull

worked like a charm biggrin_o.gif

thx alot

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  

×