N'kEnNy 0 Posted January 25, 2009 <span style='font-size:11pt;line-height:100%'>Question: Scripting Aspects of the Command Interface</span> What is it that determines what number a unit is assigned to? Is this  Closeness to commander?  Type? Pre-scripted? Rank? or Random? Say I command a 6 man team consisting of 2xMGs, an AT soldier, Grenadier and two regular riflemen. How would these be assigned numbers?  F1-F12 <span style='font-size:11pt;line-height:100%'>Follow up 1:  Improved interace</span> The follow up question is whether or not it is possible to somehow script/reorder this sequence? I find the F1 through F4 buttons easier to reach while sitting in a dark room engaged in a quickly evolving situation. Therefore I would like to have my most potent units  'closer at hand' Would it be possible to somehow force their numbers to be assigned based on type and function?  Specifically the prioritization order I'd like would go something like:  Leader, MGs, ATs, Teamleaders, GLs, Medics, Snipers, Riflemen.  Which would mean that the above team would look like this. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">F1: Leader F2: Machinegunner F3: Machinegunner F4: AT soldier F5: Grenadier F6: Rifleman F7: Rifleman Perhaps not overly realistic, and sometimes downright unpractical given how formations work (all MGs would be crowded around leader); but damnable convenient as I'm sure you would agree. <span style='font-size:11pt;line-height:100%'>Follow up 2:  In Game Rally Option</span> If it is possible to affect the order of of soldiers; the next question brings the rally option.  Would it be possible to do this 'in the field'. Lets say the above squad suffers casualties.  F2(MG) and F5(GL)  F7(rifleman)  picks up the dropped SAW This would make the squad look like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">F1: Leader F3: Machinegunner F4: AT soldier F6: Rifleman F7: Machinegunner After the 'Rally' option the squad would reorganize itself to look like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">F1: Leader F2: Machinegunner F3: Machinegunner  [Former F7] F4: AT soldier F5: Rifleman Again providing optimized control layout. Thoughts? Ken Share this post Link to post Share on other sites
[frl]myke 14 Posted January 25, 2009 If i'm not completely wrong, the order is related with the rank or, if all units have same rank, in the order they are added to the group in the editor. So in general there is no way to influence it inside a mission, unless you made the mission yourself. But you could assign one or more units to a specific team, allowing to group them the way you need. Share this post Link to post Share on other sites
t_d 47 Posted January 25, 2009 It could be (i am also not sure) that the order is the one like in the array the 'units' command returns. So if you want to change the order, try removing everyone from the group and rejoin them in your preferred order. Share this post Link to post Share on other sites