Dead-Ćnd-Start 0 Posted February 1, 2002 is it possible or can you assign a group of soilders a group name, so you can refer to them as a group ie: Alphasquad moveincargo Pibber1 as opposed to putting in "this moveincargo Pibber1" 6 times in every unit or what ever? Share this post Link to post Share on other sites
Intruder 0 Posted February 1, 2002 In the group leaders init field type: group_1=group this; group_1 SetGroupID ["CallSign","Color"] group_1 is the name of the group. CallSign is the call sign to use for this group. Valid values are : "Alpha", "Bravo", "Charlie", "Delta", "Echo", "Foxtrot", "Golf", "Hotel" Color is the group color. Valid values are : "GroupColor1" = Black "GroupColor2" = Red "GroupColor3" = Green "GroupColor4" = Blue "GroupColor5" = Yellow "GroupColor6" = Orange "GroupColor7" = Pink Share this post Link to post Share on other sites
Shabadu 0 Posted February 1, 2002 I know you can assign your squad's members with colours. Do you mean larger teams i.e multiple squads? Share this post Link to post Share on other sites
Intruder 0 Posted February 1, 2002 For a short cut to assignascargo make a script called cargo.sqs from notepad and type: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">unit_1 AssignasCargo apc_1 unit_2 AssignasCargo apc_1 unit_3 AssignasCargo apc_1 unit_4 AssignasCargo apc_1 unit_5 AssignasCargo apc_1 unit_6 AssignasCargo apc_1<span id='postcolor'> Its a matter of copy and paste, then call it up in the editor in an activation field: [] exec "cargo.sqs" Share this post Link to post Share on other sites
Intruder 0 Posted February 1, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Shabadu @ Feb. 01 2002,11:53)</td></tr><tr><td id="QUOTE">I know you can assign your squad's members with colours. Do you mean larger teams i.e multiple squads?<span id='postcolor'> The entire group will take the name given, ie: group_1=group this; group_1 SetGroupID ["Alpha","Groupcolor1"] will set group_1 to Alpha Black and the corresponding group number, alpha black 1 (leader), alpha black 2 etc... You can assign any groups a name (valid callsigns only, alpha, bravo, charlie etc). Just by typing the command in the leaders init field of that group. Share this post Link to post Share on other sites
Gaswell 1 Posted February 1, 2002 To move a group into cargo w/o a script, try this in the init line of the group leader (or any of the group's units, actually): "_x moveincargo Wtruck1" foreach units this where Wtruck1 is the vehicle. If you want everyone in cargo, but the group leader as the driver, try this in the init line of the group leader (or whoever is gonna be the driver): this moveindriver Wtruck1; "_x moveincargo Wtruck1" foreach (units this)-[this] Share this post Link to post Share on other sites