I have 3 groups: w1 w2 w3.
What I am trying to do is the following:
From action menue I get 3 actions available Groupe1, Group2 Group3
Once I selected one I get 4 actions for each group, and each one of those actions will provide 4 more choices:
1) Move. Move on map by a single click (already got that one)
2) Behaviour:
a) Stealth b) Combat c) Aware d) Safe
3) Formation:
a) Line b) Wedge c) Vee d) Cloumn
4) Face direction. Based on toadlife's watch script
a)90 b)180 c)270 d)360
And when a group gets killed its actions gets removed from action menu.
I already got the first one which is moving different groupes on map.
As always, your help is greatly appreciated! ;D
This is the mission since I can not post it:
version=11;
class Mission
{
   addOns[]=
   {
      "bis_resistance"
   };
   addOnsAuto[]=
   {
      "bis_resistance"
   };
   randomSeed=5505027;
   class Intel
   {
   };
   class Groups
   {
      items=4;
      class Item0
      {
         side="WEST";
         class Vehicles
         {
            items=1;
            class Item0
            {
               position[]={9365.340820,45.726944,4163.716309};
               azimut=82.757698;
               id=0;
               side="WEST";
               vehicle="OfficerWHG";
               player="PLAYER COMMANDER";
               leader=1;
               skill=0.600000;
               init="gw1 = group this";
            };
         };
      };
      class Item1
      {
         side="WEST";
         class Vehicles
         {
            items=3;
            class Item0
            {
               position[]={9449.680664,29.837919,4184.543945};
               azimut=82.757698;
               id=1;
               side="WEST";
               vehicle="OfficerWHG";
               leader=1;
               rank="LIEUTNANT";
               skill=0.600000;
               init="w1 = group this ";
            };
            class Item1
            {
               position[]={9441.364258,30.109629,4191.806152};
               azimut=82.757683;
               id=2;
               side="WEST";
               vehicle="SoldierWB";
               rank="SERGEANT";
               skill=0.600000;
            };
            class Item2
            {
               position[]={9441.250000,30.037266,4176.421875};
               azimut=82.757683;
               id=3;
               side="WEST";
               vehicle="SoldierWB";
               rank="SERGEANT";
               skill=0.600000;
            };
         };
      };
      class Item2
      {
         side="WEST";
         class Vehicles
         {
            items=3;
            class Item0
            {
               position[]={9449.520508,29.838741,4161.876465};
               azimut=82.757698;
               id=4;
               side="WEST";
               vehicle="OfficerWHG";
               leader=1;
               rank="LIEUTNANT";
               skill=0.600000;
               init="w2 = group this ";
            };
            class Item1
            {
               position[]={9443.422852,29.971224,4167.210938};
               azimut=82.757683;
               id=5;
               side="WEST";
               vehicle="SoldierWB";
               rank="SERGEANT";
               skill=0.600000;
            };
            class Item2
            {
               position[]={9442.397461,29.858177,4155.102051};
               azimut=82.757683;
               id=6;
               side="WEST";
               vehicle="SoldierWB";
               rank="SERGEANT";
               skill=0.600000;
            };
         };
      };
      class Item3
      {
         side="WEST";
         class Vehicles
         {
            items=3;
            class Item0
            {
               position[]={9448.523438,29.825188,4139.457520};
               azimut=82.757698;
               id=7;
               side="WEST";
               vehicle="OfficerWHG";
               leader=1;
               rank="LIEUTNANT";
               skill=0.600000;
               init="w3 = group this ";
            };
            class Item1
            {
               position[]={9439.525391,29.533472,4144.266113};
               azimut=82.757683;
               id=8;
               side="WEST";
               vehicle="SoldierWB";
               rank="SERGEANT";
               skill=0.600000;
            };
            class Item2
            {
               position[]={9441.161133,29.208107,4132.232422};
               azimut=82.757683;
               id=9;
               side="WEST";
               vehicle="SoldierWB";
               rank="SERGEANT";
               skill=0.600000;
            };
         };
      };
   };
   class Markers
   {
      items=1;
      class Item0
      {
         position[]={9368.155273,44.880917,4163.133789};
         name="Observation_Base";
         type="Flag";
      };
   };
   class Sensors
   {
      items=1;
      class Item0
      {
         position[]={9371.809570,43.799026,4163.047363};
         activationBy="ANY";
         age="UNKNOWN";
         expActiv="leader gw1 addAction [""Group1"",""w1move.sqs""]; leader gw1 addAction [""Group2"",""w2move.sqs""]; leader gw1 addAction [""Group3"",""w3move.sqs""]";
         class Effects
         {
         };
      };
   };
};
class Intro
{
   randomSeed=14818819;
   class Intel
   {
   };
};
class OutroWin
{
   randomSeed=6903299;
   class Intel
   {
   };
};
class OutroLoose
{
   randomSeed=14650883;
   class Intel
   {
   };
};