Vänskä 0 Posted December 14, 2006 How can I refer to units in a cargo like I can refer to units in a driver, gunner, commander or turret seats. For example: player == driver myvehicle How do I do this for those "riding on back"? Share this post Link to post Share on other sites
Big Dawg KS 6 Posted December 14, 2006 Use crew and subtract the driver, gunner, and commander: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">cargo = (crew vehicle) - [driver vehicle,gunner vehicle,commander vehicle] And cargo would be an array of all the units in the vehicle's cargo. Share this post Link to post Share on other sites
Vänskä 0 Posted December 14, 2006 Thx mate much appreciated! Share this post Link to post Share on other sites