Jump to content
Sign in to follow this  
Viper-SWE-

Getting units inside a vehicle at any position?

Recommended Posts

Is there any command for getting a group of people inside a vehicle at the non-occupied places - just like choosing "Anywhere" in the command menu (Mount->[vehicle selection]->'Anywhere')?

If NOT - is there any simple way to check whether a vehicle actually HAS a certain position? I mean choppers don't have commander position, jeep don't have gunner or commander aso so that I can check:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">? ((driver vehicle) != (driver vehicle)) : unit assignAsDriver vehicle

For each position, rest of the units is placed as cargo.

This will work fine with a BMP (which has all of the positions), but if I do it just like this with, say, a jeep unit1 will get in as driver, unit2 and unit3 will be assigned as gunner and commander (just waiting outside since there are no such positions in a jeep) and unit4 will get in cargo.

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  

×