Jump to content
Sign in to follow this  
_BARNS_

ai join player

Recommended Posts

i have spawned a ai soldier with the RTE, now i want him to join my group, what do i have to write in its inti line?

i tried

unitname join player

did not work for me ... plz help me out

thx

Share this post


Link to post
Share on other sites

try "[this] join player"

The join-command requires an array.

Share this post


Link to post
Share on other sites

I'm not entirely sure that the RTE can support that kind of thing. I seem to remember that units wouldn't work with RTE, but can't find that post. smile_o.gif

Why must you use RTE though? Wouldn't a normally scripted mission work for you?

Share this post


Link to post
Share on other sites

sintax is:

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

or

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[this] joinsilent (group player)

Share this post


Link to post
Share on other sites

okay the ai is now joining the players group but if another player joins the mission and spawns himself a soldier to use it in his own group ... the ai joins the group of the first player

how to get the ai into the group of the other player?

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  

×