matt54 0 Posted March 19, 2007 ok in the editor im trying to make a group enter a uh60. i use this to name the group for the group: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">chalk1 = group this for the chopper: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">uh60 = group this then on the load waypoint in the init field i put: (when i do this waypoint, it says something like "expecting object "chalk1;" no object" or something allong those lines.) <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x assignascargo uh60" foreach units chalk1; "[_x] ordergetin true" foreach units chalk1 for BAS fastroping insertion waypoint: (almost the same error above, expected a object in "chalk1;") <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">uh60 exec "\BAS_mah60\FX\BAS_AIRope.sqs" Am i doing this right, or did i screw up somewhere when i named the groups? Thanks in advanced. Share this post Link to post Share on other sites
fasad 1 Posted March 19, 2007 A uh60 (or any non-man unit) is a vehicle. A group is made up of man units, ie you cannot board a group. try: uh60 = vehicle this or uh60 = this Both will refer to the vehicle itself. Share this post Link to post Share on other sites
matt54 0 Posted March 19, 2007 thanks i will try that. bah, after reading my tutorial... it said exactly what you said haha. it said put the name in the Name field. man i feel like a idiot. thanks yeah, that fixed it. thanks man. now onto continuing my mission! Share this post Link to post Share on other sites
Dark_vityaz 0 Posted March 21, 2007 Almost have forgotten it.How to make the unit to join some team? What command? Smth like "assign"? Share this post Link to post Share on other sites
sanctuary 19 Posted March 21, 2007 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[nameoftheunit] join nameofthegroup to get a soldier from a group being removed from that group <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[nameoftheunit] join grpnull Share this post Link to post Share on other sites
The-Architect 0 Posted March 22, 2007 Sanctuary has it. For extra units, add them thus, <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[unit,nextunit,nextunit,etc] join mygroup Share this post Link to post Share on other sites
sanctuary 19 Posted March 22, 2007 another join usage , when you have a group and you want this group to join a single soldier to be under his command. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">units NAMEOFTHEGROUP join NAMEOFTHESOLDIER all you need is modify NAMEOFTHEGROUP to the name you assignated to a group, and NAMEOFTHESOLDIER being the name of the soldier that will be the new leader of the group joining him. But remember a group in OFP has a maximum of 12 soldiers, leader included, so do not make a 12 units squad to join a soldier. Share this post Link to post Share on other sites