DodgyGeeza 0 Posted November 23, 2006 Can anyone tell me how to move grps into vehicles as the old script doesnt seem to work anymore, cheers. Share this post Link to post Share on other sites
sanctuary 19 Posted November 23, 2006 A simple <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x moveincargo NAMEOFTHEVEHICLE" foreach units NAMEOFTHEGROUP or <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x moveincargo NAMEOFTHEVEHICLE} foreach units NAMEOFTHEGROUP (without forgetting that the group must be named with a NAMEOFTHEGROUP = group this into a soldier init line) or for an unit <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">NAMEOFTHESOLDIER moveincargo NAMEOFTHEVEHICLE in a trigger/script/init line does not work in ArmA ? Share this post Link to post Share on other sites
Shashman 0 Posted November 24, 2006 I think he knows that command, but that in ArmA, it doesnt seem to work anymore, Sanctuary Share this post Link to post Share on other sites
XCess 0 Posted November 25, 2006 Quote[/b] ]{_x moveincargo NAMEOFTHEVEHICLE} foreach units NAMEOFTHEGROUP does Quote[/b] ]"_x moveincargo NAMEOFTHEVEHICLE" foreach units NAMEOFTHEGROUP does not Share this post Link to post Share on other sites
BigWolf 0 Posted November 28, 2006 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">NAMEOFTHESOLDIER moveincargo NAMEOFTHEVEHICLE This works too Share this post Link to post Share on other sites
HappyG 0 Posted December 1, 2006 another working example: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> group_units = units group_leader; _max = count group_units; _i = 0; while {(_i < _max)} do { (group_units select _i) moveInCargo vehicle; _i = _i + 1; }; Share this post Link to post Share on other sites