Jump to content
Sign in to follow this  
aook002

"Teleport" everything not just the men...

Recommended Posts

Hi,

At the moment i'm making a mission where i say a group of T72's and in the leader's tank's init field i have put...<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">grp1=group this ... defining them as group one  wink_o.gif

Ok these units (grp1) are on the other side of the map to where they should be (Im making waves of attacks), and I am using a script to teleport them to a Game Logic position.

So in the script there is this...<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x setpos (getpos wave1)" forEach units grp1;

exit

But when this happens only the men appear not the tanks so my question is....

How do I move the tanks as well as the men in the group, and the men be in the tanks aswell?

Thanks in advance

Aook smile_o.gif

Edit: Typos

Share this post


Link to post
Share on other sites

Ok how would i do that?

Im trying to use Tonal BMP's and T72's.

Aook rock.gif

Share this post


Link to post
Share on other sites

Try:

"(vehicle _x) setpos (getpos wave1)" forEach units grp1;

smile_o.gif

Share this post


Link to post
Share on other sites

Ok another question aswell - how would i createunits ingame - i have searched but to no success or ease of understanding tounge_o.gif

If someone does know the answer could you do the example for a BAS Tonal Rebel BMP ?

Thanks

Aook smile_o.gif

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  

×