diff --git a/addons/dagr/$PBOPREFIX$ b/addons/dagr/$PBOPREFIX$ new file mode 100644 index 0000000000..98e51ae9ea --- /dev/null +++ b/addons/dagr/$PBOPREFIX$ @@ -0,0 +1 @@ +z\ace\addons\dagr \ No newline at end of file diff --git a/addons/dagr/CfgEventHandlers.hpp b/addons/dagr/CfgEventHandlers.hpp new file mode 100644 index 0000000000..2a05b72298 --- /dev/null +++ b/addons/dagr/CfgEventHandlers.hpp @@ -0,0 +1,11 @@ +class Extended_PreInit_EventHandlers { + class ADDON { + init = QUOTE( call COMPILE_FILE(XEH_preInit) ); + }; +}; + +class Extended_PostInit_EventHandlers { + class ADDON { + init = QUOTE( call COMPILE_FILE(XEH_postInit) ); + }; +}; \ No newline at end of file diff --git a/addons/dagr/CfgVehicles.hpp b/addons/dagr/CfgVehicles.hpp new file mode 100644 index 0000000000..9e2eee1e8e --- /dev/null +++ b/addons/dagr/CfgVehicles.hpp @@ -0,0 +1,49 @@ +class CfgVehicles { + class Man; + class CAManBase: Man { + class ACE_SelfActions { + class ACE_Equipment { + class GVAR(menu) { + displayName = "Configure DAGR"; + condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem)); + statement = QUOTE(call FUNC(DAGR_MENU_INIT)); + showDisabled = 0; + priority = 0.1; + icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa)); + exceptions[] = {"isNotInside"}; + class GVAR(toggle) { + displayName = "Toggle DAGR"; + condition = QUOTE([ARR_2(_player,'ACE_DAGR')] call EFUNC(common,hasItem)); + statement = QUOTE(call FUNC(DAGR_START)); + showDisabled = 0; + priority = 0.2; + icon = QUOTE(PATHTOF(UI\DAGR_Icon.paa)); + exceptions[] = {"notOnMap", "isNotInside"}; + }; + }; + }; + }; + }; + + class Item_Base_F; + class ACE_Item_DAGR: Item_Base_F { + author[] = {"Rosuto", "Ruthberg"}; + scope = 2; + scopeCurator = 2; + displayName = "DAGR"; + vehicleClass = "Items"; + class TransportItems { + class ACE_DAGR { + name = "ACE_DAGR"; + count = 1; + }; + }; + }; + + class Box_NATO_Support_F; + class ACE_Box_Misc: Box_NATO_Support_F { + class TransportItems { + MACRO_ADDITEM(ACE_DAGR,6); + }; + }; +}; diff --git a/addons/dagr/CfgWeapons.hpp b/addons/dagr/CfgWeapons.hpp new file mode 100644 index 0000000000..31b0603ff2 --- /dev/null +++ b/addons/dagr/CfgWeapons.hpp @@ -0,0 +1,19 @@ + +class CfgWeapons { + class ACE_ItemCore; + class InventoryItem_Base_F; + + class ACE_DAGR: ACE_ItemCore { + author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"}; + scope = 2; + displayName = "DAGR"; + descriptionShort = ""; + picture = PATHTOF(UI\DAGR_Icon.paa); + icon = "iconObject_circle"; + mapSize = 0.034; + + class ItemInfo: InventoryItem_Base_F { + mass = 10; + }; + }; +}; diff --git a/addons/dagr/DAGR_MENU.fsm b/addons/dagr/DAGR_MENU.fsm new file mode 100644 index 0000000000..e3160d0d27 --- /dev/null +++ b/addons/dagr/DAGR_MENU.fsm @@ -0,0 +1,7936 @@ +/*%FSM*/ +/*%FSM*/ +/* +item0[] = {"Start_Main_Menu",2,250,103.677322,-95.575821,193.677353,-45.575764,0.000000,"Start Main" \n "Menu"}; +item1[] = {"Down",8,218,199.370926,14.298351,289.370972,64.298355,0.000000,"Down"}; +item2[] = {"UP",8,218,8.896622,15.001659,98.896637,65.001724,0.000000,"UP"}; +item3[] = {"Exit",8,218,296.310852,13.170116,386.310913,63.170124,0.000000,"Exit"}; +item4[] = {"Main_Menu",2,250,107.627838,541.758545,197.628189,591.758789,0.000000,"Main Menu"}; +item5[] = {"Select",8,218,-87.035431,15.538830,2.964676,65.538834,0.000000,"Select"}; +item6[] = {"Remove__Main_Men",2,250,-261.939819,15.438786,-171.939621,65.438843,0.000000,"Remove " \n "Main Menu"}; +item7[] = {"DATA",8,218,-723.061035,-677.221008,-633.060791,-627.220825,0.000000,"DATA"}; +item8[] = {"_",8,218,-262.108521,-396.391937,-172.108475,-346.391937,0.000000,""}; +item9[] = {"WP_VIEW",8,218,-446.007416,15.416122,-356.007202,65.416138,0.000000,"WP VIEW"}; +item10[] = {"WP_LIST",8,218,-256.701782,728.049988,-166.701889,778.049927,0.000000,"WP LIST"}; +item11[] = {"Connect",8,218,-1076.858276,-453.432037,-986.859436,-403.431854,0.000000,"Connect"}; +item12[] = {"DATA_View",2,250,-722.162109,-750.019714,-632.161865,-700.019592,0.000000,"DATA View"}; +item13[] = {"Return_to__Main",8,218,-330.795105,-184.131607,-240.795059,-134.131577,0.000000,"Return to " \n "Main Menu"}; +item14[] = {"Options_Menu",2,250,-262.272034,-477.342682,-172.272049,-427.342712,0.000000,"Options Menu"}; +item15[] = {"Connect_TO",2,250,-1075.935669,-535.268066,-985.936340,-485.267944,0.000000,"Connect TO"}; +item16[] = {"Select",8,218,-1630.866577,-633.564026,-1540.866821,-583.564026,0.000000,"Select"}; +item17[] = {"Back",8,218,-940.772095,-535.657776,-850.772095,-485.657776,0.000000,"Back"}; +item18[] = {"Has_Vector",8,218,-1945.058105,-1441.802979,-1855.057983,-1391.802979,1.000000,"Has Vector"}; +item19[] = {"No_Vector",4,218,-2183.499512,-1442.414795,-2093.500000,-1392.414551,0.000000,"No Vector"}; +item20[] = {"Vector",2,250,-2074.586426,-972.498047,-1984.586670,-922.498047,0.000000,"Vector"}; +item21[] = {"WP_List_Check",2,250,-664.149658,14.901791,-574.149658,64.901810,0.000000,"WP List Check"}; +item22[] = {"WP_List_Menu",2,250,-255.827454,798.830872,-165.827469,848.830872,0.000000,"WP List Menu"}; +item23[] = {"_",8,218,-664.825806,-105.526047,-574.825806,-55.525936,1.000000,""}; +item24[] = {"WPs_Found",4,218,-1293.909546,15.015167,-1203.909546,65.015167,0.000000,"WPs Found"}; +item25[] = {"No_WPs",2,250,-664.159973,-184.472046,-574.159973,-134.471985,0.000000,"No WPs"}; +item26[] = {"GOTO_WP_Menu",2,250,-1294.075562,104.292313,-1204.075562,154.292328,0.000000,"GOTO WP" \n "Menu"}; +item27[] = {"UP",8,218,-1235.768188,209.749008,-1145.767944,259.749084,0.000000,"UP"}; +item28[] = {"Down",8,218,-1369.151733,209.655228,-1279.151733,259.655273,0.000000,"Down"}; +item29[] = {"Select",8,218,-1699.939331,161.617981,-1609.939819,211.618088,0.000000,"Select"}; +item30[] = {"WP_Menu",2,250,-1300.217163,744.227539,-1210.217163,794.227539,0.000000,"WP Menu"}; +item31[] = {"Back",8,218,-1019.708618,161.821518,-929.708557,211.821487,0.000000,"Back"}; +item32[] = {"Exit",8,218,-1129.322388,210.050705,-1039.322388,260.050720,0.000000,"Exit"}; +item33[] = {"Remove_Menu",2,250,-1699.296753,239.227249,-1609.296753,289.227081,0.000000,"Remove Menu"}; +item34[] = {"WP0",8,218,-2087.369629,369.233307,-1997.368530,419.233368,0.000000,"WP0"}; +item35[] = {"WP1",8,218,-1992.043335,371.086334,-1902.043335,421.086395,0.000000,"WP1"}; +item36[] = {"WP2",8,218,-1894.653198,369.752960,-1804.653198,419.753021,0.000000,"WP2"}; +item37[] = {"WP3",8,218,-1797.459351,369.504059,-1707.459839,419.504120,0.000000,"WP3"}; +item38[] = {"WP4",8,218,-1698.588745,368.903595,-1608.588745,418.903656,0.000000,"WP4"}; +item39[] = {"Exit",1,250,417.667419,14.726391,507.667297,64.726395,0.000000,"Exit"}; +item40[] = {"Exit_1",1,250,-1128.015015,275.862274,-1038.014771,325.862396,0.000000,"Exit"}; +item41[] = {"Change_Selection",2,250,8.018387,83.297348,98.018646,133.297409,0.000000,"Change" \n "Selection"}; +item42[] = {"Selection_0",8,218,-83.197357,328.081085,6.802597,378.081085,0.000000,"Selection 0"}; +item43[] = {"Change_Selection_1",2,250,201.280594,88.843979,291.280457,138.843918,0.000000,"Change" \n "Selection"}; +item44[] = {"Error_Message",2,250,-2182.773926,-1127.881836,-2092.773438,-1077.881836,0.000000,"Error Message"}; +item45[] = {"Wait",8,218,-1258.768677,-699.898010,-1168.768188,-649.898010,0.000000,"Wait"}; +item46[] = {"Exit",8,218,-1206.547485,-535.962585,-1116.547485,-485.962585,0.000000,"Exit"}; +item47[] = {"Exit_2",1,250,-1336.171509,-534.860352,-1246.171509,-484.860229,0.000000,"Exit"}; +item48[] = {"Return_to_Main_M",2,250,-1943.979980,-1084.183594,-1853.980835,-1034.183838,0.000000,"Return to" \n "Main Menu"}; +item49[] = {"_",8,218,-1299.359009,673.303833,-1209.359009,723.303955,0.000000,""}; +item50[] = {"Min",8,218,8.857986,153.786209,98.857986,203.786240,1.000000,"Min"}; +item51[] = {"WP0",2,250,-2087.428223,432.640778,-1997.427612,482.640594,0.000000,"WP0"}; +item52[] = {"WP1",2,250,-1992.271851,433.131378,-1902.271851,483.131317,0.000000,"WP1"}; +item53[] = {"WP2",2,250,-1894.096558,433.738922,-1804.096558,483.738922,0.000000,"WP2"}; +item54[] = {"WP3",2,250,-1797.349487,435.482574,-1707.349487,485.482513,0.000000,"WP3"}; +item55[] = {"WP4",2,250,-1698.715698,435.812775,-1608.715698,485.812714,0.000000,"WP4"}; +item56[] = {"_",8,218,-2205.226074,490.283356,-2115.226074,540.283325,0.000000,""}; +item57[] = {"",7,210,-898.590027,-567.052185,-890.590027,-559.052185,0.000000,""}; +item58[] = {"UP",8,218,-366.249573,1048.143555,-276.249573,1098.143677,0.000000,"UP"}; +item59[] = {"Down",8,218,-168.272034,1049.845703,-78.272064,1099.845947,0.000000,"Down"}; +item60[] = {"F1",8,218,-574.805603,1048.062378,-484.805389,1098.062500,0.000000,"F1"}; +item61[] = {"F2",8,218,-473.221191,1047.204468,-383.221313,1097.204590,0.000000,"F2"}; +item62[] = {"F3",8,218,-67.399414,1048.689087,22.600525,1098.689209,0.000000,"F3"}; +item63[] = {"Back",8,218,-765.568542,1048.551392,-675.568542,1098.551514,0.000000,"Back"}; +item64[] = {"Change_Selection_2",2,250,-366.644928,1131.795410,-276.644897,1181.795410,0.000000,"Change" \n "Selection"}; +item65[] = {"Change_Selection_3",2,250,-167.792007,1131.488770,-77.791931,1181.488770,0.000000,"Change" \n "Selection"}; +item66[] = {"WP_List_Menu_1",2,250,-253.070862,1652.337158,-163.070999,1702.336914,0.000000,"WP List Menu"}; +item67[] = {"Exit",8,218,-672.263855,1048.570435,-582.264221,1098.570435,0.000000,"Exit"}; +item68[] = {"Add",2,250,-1393.110107,1309.008667,-1303.109985,1359.008667,0.000000,"Add"}; +item69[] = {"Edit",3,250,-1025.431641,1381.581909,-935.431519,1431.581909,0.000000,"Edit"}; +item70[] = {"Delete",3,250,54.354645,1049.403809,144.354553,1099.403809,0.000000,"Delete"}; +item71[] = {"WP_MAX",8,218,-1392.365845,1173.726563,-1302.365723,1223.726685,1.000000,"WP MAX"}; +item72[] = {"Save",8,218,-1238.570557,1909.808350,-1148.570557,1959.808350,0.000000,"Save"}; +item73[] = {"Error_Message_1",2,250,-1391.630371,1059.617920,-1301.630371,1109.617920,0.000000,"Error Message"}; +item74[] = {"_",8,218,-1195.230957,924.478638,-1105.231079,974.478821,0.000000,""}; +item75[] = {"",7,210,-725.707642,1935.887573,-717.707642,1943.887573,0.000000,""}; +item76[] = {"WP_NUM_0_1",8,218,-766.921021,1860.872681,-676.919983,1910.872559,0.000000,"WP NUM 0"}; +item77[] = {"WP_NUM_1",8,218,-655.930359,1860.727539,-565.930359,1910.727417,0.000000,"WP NUM 1"}; +item78[] = {"WP_NUM_2",8,218,-543.520203,1860.876465,-453.520599,1910.876465,0.000000,"WP NUM 2"}; +item79[] = {"WP_NUM_3",8,218,-433.820984,1859.724976,-343.820984,1909.724976,0.000000,"WP NUM 3"}; +item80[] = {"WP_NUM_4",8,218,-320.768066,1859.059692,-230.768219,1909.059937,0.000000,"WP NUM 4"}; +item81[] = {"WP0_1",2,250,-766.323303,1790.569214,-676.323181,1840.569214,0.000000,"WP0"}; +item82[] = {"WP1_1",2,250,-656.434998,1789.062256,-566.434998,1839.062256,0.000000,"WP1"}; +item83[] = {"WP2_1",2,250,-543.757324,1789.885498,-453.757843,1839.885498,0.000000,"WP2"}; +item84[] = {"WP3_1",2,250,-433.863770,1789.760986,-343.863770,1839.760986,0.000000,"WP3"}; +item85[] = {"WP4_1",2,250,-321.500153,1786.866333,-231.500153,1836.866333,0.000000,"WP4"}; +item86[] = {"Wait",8,218,-940.394043,1721.462524,-850.394287,1771.462646,0.000000,"Wait"}; +item87[] = {"Add_Menu_Start",2,250,-1386.186035,1515.767822,-1296.186035,1565.767822,0.000000,"Add Menu" \n "Start"}; +item88[] = {"Right",8,218,-1243.201294,2119.104004,-1153.201416,2169.103760,0.000000,"Right"}; +item89[] = {"Left",8,218,-1246.702637,2053.363281,-1160.209839,2110.377197,0.000000,"Left"}; +item90[] = {"UP",8,218,-1488.715332,2048.396729,-1402.222168,2105.410156,0.000000,"UP"}; +item91[] = {"Min",8,218,-366.633789,1211.038452,-276.633728,1261.038452,1.000000,"Min"}; +item92[] = {"Selection_1",8,218,10.501083,328.042877,100.501099,378.042877,0.000000,"Selection 1"}; +item93[] = {"Selection_2",8,218,107.004578,328.384491,197.004562,378.384491,0.000000,"Selection 2"}; +item94[] = {"Down",8,218,-1490.691895,1974.924561,-1400.691772,2024.924561,0.000000,"Down"}; +item95[] = {"Back",8,218,-1293.586060,1831.453491,-1203.586304,1881.453491,0.000000,"Back"}; +item96[] = {"Selection_0",8,218,-446.840668,1368.866699,-356.840637,1418.866699,0.000000,"Selection 0"}; +item97[] = {"Selection_1",8,218,-351.664307,1368.458862,-261.664276,1418.458862,0.000000,"Selection 1"}; +item98[] = {"Selection_3",8,218,203.685654,330.151154,293.685669,380.151154,0.000000,"Selection 3"}; +item99[] = {"Selection_4",8,218,298.934937,328.973358,388.934998,378.973358,0.000000,"Selection 4"}; +item100[] = {"_",2,250,-83.181610,391.521027,6.818344,441.521027,0.000000,""}; +item101[] = {"__1",2,250,11.223618,392.591400,101.223686,442.591339,0.000000,""}; +item102[] = {"__2",2,250,107.636047,391.330902,197.636093,441.330841,0.000000,""}; +item103[] = {"__3",2,250,202.224533,392.339630,292.224548,442.339630,0.000000,""}; +item104[] = {"__4",2,250,300.904480,391.396027,390.904480,441.396027,0.000000,""}; +item105[] = {"_",8,218,108.062363,482.751038,198.062332,532.750854,0.000000,""}; +item106[] = {"Max",8,218,201.634720,151.348557,291.634705,201.348557,1.000000,"Max"}; +item107[] = {"NO_WPs",8,218,-414.090515,799.100464,-324.090546,849.100098,1.000000,"NO WPs"}; +item108[] = {"",7,210,95.381012,1011.432129,103.381012,1019.432129,0.000000,""}; +item109[] = {"Limited_Menu",2,250,-574.130493,798.823914,-484.130463,848.823425,0.000000,"Limited Menu"}; +item110[] = {"",7,210,189.654999,1011.334106,197.654999,1019.334106,0.000000,""}; +item111[] = {"Selection_2",8,218,-255.788879,1368.430908,-165.788879,1418.430908,0.000000,"Selection 2"}; +item112[] = {"Selection_3",8,218,-159.772888,1369.532715,-69.772858,1419.532715,0.000000,"Selection 3"}; +item113[] = {"Selection_4",8,218,-63.193420,1369.352295,26.806580,1419.352295,0.000000,"Selection 4"}; +item114[] = {"__5",2,250,-447.542847,1435.244751,-357.542725,1485.244751,0.000000,""}; +item115[] = {"__6",2,250,-351.911896,1434.272217,-261.911743,1484.272217,0.000000,""}; +item116[] = {"__7",2,250,-255.499390,1434.237427,-165.499390,1484.237427,0.000000,""}; +item117[] = {"__8",2,250,-159.685196,1434.837646,-69.685150,1484.837646,0.000000,""}; +item118[] = {"__9",2,250,-63.456665,1434.711182,26.543335,1484.711182,0.000000,""}; +item119[] = {"_",8,218,-255.199829,1551.436646,-165.199951,1601.436401,0.000000,""}; +item120[] = {"",7,210,-215.010086,1295.621094,-207.010071,1303.621094,0.000000,""}; +item121[] = {"Exit_3",1,250,-672.255310,1158.365112,-582.255554,1208.364990,0.000000,"Exit"}; +item122[] = {"Power",8,218,-1486.635498,2132.926025,-1396.635254,2182.926025,0.000000,"Power"}; +item123[] = {"Move_Pointer",2,250,-1130.500488,2051.695557,-1044.007446,2108.709473,0.000000,"Move Pointer"}; +item124[] = {"Check",8,218,-1029.884888,2007.141113,-943.392639,2064.155273,1.000000,"Check"}; +item125[] = {"__10",2,250,-919.333191,2006.746582,-832.840149,2063.760742,0.000000,""}; +item126[] = {"",7,210,-2608.544189,2440.172607,-2600.544189,2448.172607,0.000000,""}; +item127[] = {"Move_Pointer_1",2,250,-1131.352783,2120.219971,-1041.352539,2170.220215,0.000000,"Move Pointer"}; +item128[] = {"Check",8,218,-1044.079346,2180.766357,-954.079956,2230.766357,1.000000,"Check"}; +item129[] = {"__11",2,250,-926.580566,2182.170410,-836.580566,2232.170410,0.000000,""}; +item130[] = {"",7,210,298.291992,2110.303711,306.291992,2118.303711,0.000000,""}; +item131[] = {"Add_Menu",2,250,-1372.268677,2012.778809,-1282.268555,2062.779785,0.000000,"Add Menu"}; +item132[] = {"Find_Pointer",2,250,-1624.212402,2046.942383,-1537.719238,2103.956299,0.000000,"Find Pointer"}; +item133[] = {"PT1",8,218,-2645.887207,2133.499023,-2559.394043,2190.513184,0.000000,"PT1"}; +item134[] = {"PT2",8,218,-2503.996826,2135.167725,-2417.503174,2192.181885,0.000000,"PT2"}; +item135[] = {"PT3",8,218,-2372.315430,2133.552979,-2285.822266,2190.567139,0.000000,"PT3"}; +item136[] = {"PT4",8,218,-2224.548340,2137.066650,-2138.055176,2194.080811,0.000000,"PT4"}; +item137[] = {"PT5",8,218,-2084.410156,2137.119141,-1997.916992,2194.133301,0.000000,"PT5"}; +item138[] = {"PT6",8,218,-1925.409180,2135.964111,-1838.916016,2192.978271,0.000000,"PT6"}; +item139[] = {"PT7",8,218,-1770.445068,2132.346191,-1683.951904,2189.360352,0.000000,"PT7"}; +item140[] = {"PT8",8,218,-1624.147705,2128.239258,-1537.654663,2185.253662,0.000000,"PT8"}; +item141[] = {"__12",2,250,-2647.254883,2218.490723,-2560.761719,2275.504639,0.000000,""}; +item142[] = {"Max_Value",8,218,-2698.056641,2283.688232,-2611.563477,2340.702148,1.000000,"Max Value"}; +item143[] = {"__13",2,250,-2700.961426,2362.972900,-2614.468262,2419.986816,0.000000,""}; +item144[] = {"",7,210,-2466.674072,2440.156982,-2458.674072,2448.156982,0.000000,""}; +item145[] = {"__14",2,250,-2504.612061,2218.322021,-2418.118896,2275.335938,0.000000,""}; +item146[] = {"Max_Value",8,218,-2556.570068,2283.519775,-2470.076416,2340.533691,1.000000,"Max Value"}; +item147[] = {"__15",2,250,-2558.840088,2360.196533,-2472.346436,2417.210449,0.000000,""}; +item148[] = {"",7,210,-2332.910889,2440.061523,-2324.910889,2448.061523,0.000000,""}; +item149[] = {"__16",2,250,-2371.812256,2215.689453,-2285.319092,2272.703369,0.000000,""}; +item150[] = {"Max_Value",8,218,-2421.627930,2281.593750,-2335.134766,2338.607666,1.000000,"Max Value"}; +item151[] = {"__17",2,250,-2420.584473,2363.390625,-2334.091309,2420.404541,0.000000,""}; +item152[] = {"",7,210,-2186.601318,2440.314209,-2178.601318,2448.314209,0.000000,""}; +item153[] = {"__18",2,250,-2226.323975,2215.923828,-2139.831299,2272.937744,0.000000,""}; +item154[] = {"Max_Value",8,218,-2277.171631,2283.200928,-2190.678467,2340.214844,1.000000,"Max Value"}; +item155[] = {"",7,210,-2043.925781,2439.859863,-2035.925903,2447.859863,0.000000,""}; +item156[] = {"__19",2,250,-2275.637451,2357.535400,-2189.144287,2414.549316,0.000000,""}; +item157[] = {"",7,210,-1885.550293,2440.309082,-1877.550293,2448.309082,0.000000,""}; +item158[] = {"",7,210,-1731.260254,2440.381104,-1723.260254,2448.381104,0.000000,""}; +item159[] = {"__20",2,250,-2083.674316,2214.401123,-1997.180908,2271.415039,0.000000,""}; +item160[] = {"Max_Value",8,218,-2133.088135,2278.056152,-2046.594971,2335.070068,1.000000,"Max Value"}; +item161[] = {"",7,210,-1584.319336,2440.781006,-1576.319336,2448.781006,0.000000,""}; +item162[] = {"__21",2,250,-2132.082031,2354.930908,-2045.588867,2411.944824,0.000000,""}; +item163[] = {"",7,210,-1887.489014,2071.216553,-1879.489014,2079.216553,0.000000,""}; +item164[] = {"",7,210,-2045.876343,2071.384521,-2037.876343,2079.384521,0.000000,""}; +item165[] = {"__22",2,250,-1925.500488,2214.745605,-1839.007324,2271.759033,0.000000,""}; +item166[] = {"Max_Value",8,218,-1983.160278,2278.023926,-1896.667114,2335.037842,1.000000,"Max Value"}; +item167[] = {"",7,210,-2185.536865,2071.438721,-2177.536865,2079.438477,0.000000,""}; +item168[] = {"__23",2,250,-1983.573364,2360.260010,-1897.080200,2417.273926,0.000000,""}; +item169[] = {"",7,210,-2332.789551,2071.161865,-2324.789551,2079.161621,0.000000,""}; +item170[] = {"",7,210,-2466.781006,2070.224854,-2458.781006,2078.224854,0.000000,""}; +item171[] = {"__24",2,250,-1770.680054,2212.442139,-1684.187134,2269.456055,0.000000,""}; +item172[] = {"Max_Value",8,218,-1825.802124,2283.271729,-1739.308960,2340.285645,1.000000,"Max Value"}; +item173[] = {"",7,210,-2607.135986,2070.124756,-2599.135986,2078.124512,0.000000,""}; +item174[] = {"__25",2,250,-1826.008545,2357.860596,-1739.515381,2414.874512,0.000000,""}; +item175[] = {"",7,210,-1730.848389,2071.247559,-1722.848511,2079.247314,0.000000,""}; +item176[] = {"",7,210,-2608.838135,1642.852051,-2600.838135,1650.852051,0.000000,""}; +item177[] = {"__26",2,250,-1623.938232,2207.002441,-1537.445435,2264.016357,0.000000,""}; +item178[] = {"Max_Value",8,218,-1656.900513,2274.429443,-1570.407471,2331.443359,1.000000,"Max Value"}; +item179[] = {"",7,210,-2465.805664,1642.161621,-2457.805420,1650.161621,0.000000,""}; +item180[] = {"__27",2,250,-1658.505615,2354.492920,-1572.012573,2411.506836,0.000000,""}; +item181[] = {"",7,210,-2332.979248,1641.793579,-2324.979248,1649.793579,0.000000,""}; +item182[] = {"",7,210,-2186.433350,1641.434326,-2178.433350,1649.434326,0.000000,""}; +item183[] = {"_",4,218,-1391.704346,1412.139893,-1301.704346,1462.139893,0.000000,""}; +item184[] = {"Find_Pointer_1",2,250,-1630.072754,1975.416382,-1540.072754,2025.416504,0.000000,"Find Pointer"}; +item185[] = {"PT1",8,218,-1629.964722,1908.503906,-1539.964722,1958.503906,0.000000,"PT1"}; +item186[] = {"PT2",8,218,-1765.483398,1911.633301,-1675.482788,1961.633301,0.000000,"PT2"}; +item187[] = {"PT3",8,218,-1923.535522,1910.911743,-1833.535522,1960.911743,0.000000,"PT3"}; +item188[] = {"PT4",8,218,-2089.251465,1912.255859,-1999.250488,1962.255859,0.000000,"PT4"}; +item189[] = {"PT5",8,218,-2227.802490,1911.190186,-2137.802490,1961.190308,0.000000,"PT5"}; +item190[] = {"PT6",8,218,-2374.062500,1907.831787,-2284.062744,1957.831787,0.000000,"PT6"}; +item191[] = {"PT7",8,218,-2506.745117,1905.953491,-2416.745117,1955.953491,0.000000,"PT7"}; +item192[] = {"PT8",8,218,-2650.505859,1905.809937,-2560.505859,1955.810059,0.000000,"PT8"}; +item193[] = {"__28",2,250,-1630.480835,1839.542603,-1540.480713,1889.542603,0.000000,""}; +item194[] = {"Max_Value",8,218,-1682.592407,1760.277832,-1592.592407,1810.277832,1.000000,"Max Value"}; +item195[] = {"",7,210,-2047.956177,1640.901489,-2039.956177,1648.901489,0.000000,""}; +item196[] = {"__29",2,250,-1684.515137,1679.430176,-1594.515137,1729.430298,0.000000,""}; +item197[] = {"_",8,218,-1358.297241,2205.993164,-1268.297241,2255.993164,0.000000,""}; +item198[] = {"",7,210,-1884.724609,1644.536743,-1876.724609,1652.536743,0.000000,""}; +item199[] = {"__30",2,250,-1764.942017,1838.237793,-1674.942383,1888.237915,0.000000,""}; +item200[] = {"Max_Value",8,218,-1823.059326,1761.217896,-1733.058838,1811.218018,1.000000,"Max Value"}; +item201[] = {"",7,210,-1723.768921,1644.740601,-1715.768921,1652.740601,0.000000,""}; +item202[] = {"__31",2,250,-1824.146973,1684.544556,-1734.146484,1734.544556,0.000000,""}; +item203[] = {"Setup_Marker",2,250,-1391.435059,1719.617676,-1301.435059,1769.617676,0.000000,"Setup Marker"}; +item204[] = {"",7,210,-1589.319092,1644.736938,-1581.319092,1652.736938,0.000000,""}; +item205[] = {"__32",2,250,-1924.191162,1837.728394,-1834.191162,1887.728394,0.000000,""}; +item206[] = {"Max_Value",8,218,-1978.178711,1758.033325,-1888.178711,1808.033325,1.000000,"Max Value"}; +item207[] = {"",7,210,-1724.374878,1996.641602,-1716.374878,2004.641602,0.000000,""}; +item208[] = {"__33",2,250,-1975.316895,1683.875122,-1885.316895,1733.875122,0.000000,""}; +item209[] = {"_",8,218,-1385.747559,1834.157715,-1295.747559,1884.157715,0.000000,""}; +item210[] = {"",7,210,-1882.067261,1996.893555,-1874.067261,2004.893433,0.000000,""}; +item211[] = {"__34",2,250,-2087.437988,1838.579834,-1997.438477,1888.579834,0.000000,""}; +item212[] = {"Max_Value",8,218,-2141.133545,1759.664551,-2051.133057,1809.664551,1.000000,"Max Value"}; +item213[] = {"",7,210,-2048.486816,1996.396973,-2040.486816,2004.396851,0.000000,""}; +item214[] = {"__35",2,250,-2141.476807,1684.663086,-2051.476563,1734.663086,0.000000,""}; +item215[] = {"",7,210,-2186.599365,1996.396973,-2178.599365,2004.396973,0.000000,""}; +item216[] = {"__36",2,250,-2227.219482,1837.424805,-2137.219727,1887.424805,0.000000,""}; +item217[] = {"Max_Value",8,218,-2282.611816,1757.898438,-2192.611816,1807.898438,1.000000,"Max Value"}; +item218[] = {"",7,210,-2333.165771,1995.276855,-2325.165771,2003.276855,0.000000,""}; +item219[] = {"__37",2,250,-2284.234619,1683.183105,-2194.234619,1733.183105,0.000000,""}; +item220[] = {"",7,210,-2465.911133,1995.219482,-2457.911133,2003.219482,0.000000,""}; +item221[] = {"__38",2,250,-2374.911377,1833.839966,-2284.911621,1883.839966,0.000000,""}; +item222[] = {"Max_Value",8,218,-2420.863037,1759.007568,-2330.863037,1809.007568,1.000000,"Max Value"}; +item223[] = {"",7,210,-2609.143555,1995.219482,-2601.143555,2003.219482,0.000000,""}; +item224[] = {"__39",2,250,-2420.892578,1685.020386,-2330.892578,1735.020264,0.000000,""}; +item225[] = {"",7,210,-597.264160,1641.262207,-589.264160,1649.262207,0.000000,""}; +item226[] = {"__40",2,250,-2506.718262,1833.435303,-2416.718750,1883.435669,0.000000,""}; +item227[] = {"Max_Value",8,218,-2557.407715,1758.303101,-2467.407715,1808.303101,1.000000,"Max Value"}; +item228[] = {"",7,210,-714.766357,1642.441650,-706.766357,1650.441650,0.000000,""}; +item229[] = {"__41",2,250,-2557.664551,1686.972290,-2467.664551,1736.972290,0.000000,""}; +item230[] = {"",7,210,-803.881714,1642.441650,-795.881714,1650.441650,0.000000,""}; +item231[] = {"__42",2,250,-2649.910889,1833.955688,-2559.910889,1883.956055,0.000000,""}; +item232[] = {"Max_Value",8,218,-2698.627441,1761.528564,-2608.627441,1811.528564,1.000000,"Max Value"}; +item233[] = {"",7,210,-891.910400,1641.354858,-883.910400,1649.354858,0.000000,""}; +item234[] = {"__43",2,250,-2697.785889,1687.480469,-2607.786133,1737.480469,0.000000,""}; +item235[] = {"",7,210,-986.459839,1641.354858,-978.459839,1649.354858,0.000000,""}; +item236[] = {"Exit_4",1,250,-1483.828003,2229.562012,-1393.827881,2279.562012,0.000000,"Exit"}; +item237[] = {"Selection_0",8,218,54.562286,943.766479,144.562286,993.766479,0.000000,"Selection 0"}; +item238[] = {"Selection_1",8,218,148.829926,943.728394,238.829865,993.728394,0.000000,"Selection 1"}; +item239[] = {"Selection_2",8,218,246.092072,943.121460,336.092041,993.121460,0.000000,"Selection 2"}; +item240[] = {"Selection_3",8,218,341.634888,943.749878,431.634888,993.749878,0.000000,"Selection 3"}; +item241[] = {"Selection_4",8,218,439.350342,944.089722,529.350342,994.089722,0.000000,"Selection 4"}; +item242[] = {"Delete_WP0",2,250,55.971527,873.081177,145.971527,923.081177,0.000000,"Delete WP0"}; +item243[] = {"Delete_WP1",2,250,150.376801,874.151611,240.376740,924.151611,0.000000,"Delete WP1"}; +item244[] = {"Delete_WP2",2,250,246.789154,872.891113,336.789185,922.891113,0.000000,"Delete WP2"}; +item245[] = {"Delete_WP3",2,250,341.377563,873.899780,431.377686,923.899780,0.000000,"Delete WP3"}; +item246[] = {"Delete_WP4",2,250,440.057495,872.956177,530.057495,922.956177,0.000000,"Delete WP4"}; +item247[] = {"Wait",8,218,440.066040,770.262024,530.066040,820.262085,0.000000,"Wait"}; +item248[] = {"",7,210,-214.329865,1020.671082,-206.329849,1028.671143,0.000000,""}; +item249[] = {"",7,210,-324.981140,1020.634216,-316.981140,1028.634155,0.000000,""}; +item250[] = {"Max",8,218,-167.731934,1199.326416,-77.732208,1249.326416,1.000000,"Max"}; +item251[] = {"__44",2,250,-366.460388,1275.103394,-276.460358,1325.103394,0.000000,""}; +item252[] = {"__45",2,250,-167.993225,1274.463989,-77.993073,1324.463989,0.000000,""}; +item253[] = {"",7,210,-615.005493,1934.619141,-607.005493,1942.619141,0.000000,""}; +item254[] = {"",7,210,-502.670685,1935.383301,-494.670685,1943.383301,0.000000,""}; +item255[] = {"__46",2,250,-921.864807,1914.930664,-831.864807,1964.930542,0.000000,""}; +item256[] = {"Selection_0",8,218,-1022.448181,1486.555786,-932.448120,1536.555786,0.000000,"Selection 0"}; +item257[] = {"Selection_1",8,218,-928.749756,1486.517578,-838.749756,1536.517578,0.000000,"Selection 1"}; +item258[] = {"Selection_2",8,218,-832.246216,1486.859131,-742.246338,1536.859131,0.000000,"Selection 2"}; +item259[] = {"Selection_3",8,218,-735.565186,1488.625854,-645.565186,1538.625854,0.000000,"Selection 3"}; +item260[] = {"Selection_4",8,218,-640.316040,1487.447998,-550.315918,1537.447998,0.000000,"Selection 4"}; +item261[] = {"WP0_2",2,250,-1022.432617,1549.995728,-932.432373,1599.995728,0.000000,"WP0"}; +item262[] = {"WP1_2",2,250,-928.027222,1551.066162,-838.027100,1601.066162,0.000000,"WP1"}; +item263[] = {"WP2_2",2,250,-831.614746,1549.805542,-741.614868,1599.805542,0.000000,"WP2"}; +item264[] = {"WP3_2",2,250,-737.026367,1550.814331,-647.026367,1600.814331,0.000000,"WP3"}; +item265[] = {"WP4_2",2,250,-638.346436,1549.870728,-548.346436,1599.870728,0.000000,"WP4"}; +item266[] = {"",7,210,-392.628571,1935.383301,-384.628571,1943.383301,0.000000,""}; +item267[] = {"",7,210,-280.293915,1935.383301,-272.293915,1943.383301,0.000000,""}; +item268[] = {"",7,210,-725.439514,1743.624756,-717.439514,1751.624756,0.000000,""}; +item269[] = {"",7,210,-280.034790,1743.263306,-272.034790,1751.263306,0.000000,""}; +item270[] = {"",7,210,-392.735809,1743.482056,-384.735809,1751.482056,0.000000,""}; +item271[] = {"Change_Selection_4",2,250,-1369.527710,277.850494,-1279.527710,327.850494,0.000000,"Change" \n "Selection"}; +item272[] = {"Change_Selection_5",2,250,-1235.111694,278.061554,-1145.111694,328.061554,0.000000,"Change" \n "Selection"}; +item273[] = {"Max",8,218,-1368.834839,346.389618,-1278.834839,396.389618,1.000000,"Max"}; +item274[] = {"Selection_0",8,218,-1490.091187,506.175720,-1400.091187,556.175659,0.000000,"Selection 0"}; +item275[] = {"Selection_1",8,218,-1396.392944,506.137512,-1306.392700,556.137451,0.000000,"Selection 1"}; +item276[] = {"",7,210,-502.434296,1743.418823,-494.434296,1751.418823,0.000000,""}; +item277[] = {"Selection_2",8,218,-1299.889038,506.479065,-1209.889038,556.479004,0.000000,"Selection 2"}; +item278[] = {"Selection_3",8,218,-1203.208130,508.245789,-1113.208130,558.245728,0.000000,"Selection 3"}; +item279[] = {"Selection_4",8,218,-1107.958862,507.067932,-1017.958923,557.067871,0.000000,"Selection 4"}; +item280[] = {"__47",2,250,-1490.075562,569.615601,-1400.075562,619.615723,0.000000,""}; +item281[] = {"__48",2,250,-1395.670288,570.686035,-1305.670044,620.686157,0.000000,""}; +item282[] = {"__49",2,250,-1299.257690,569.425415,-1209.257690,619.425537,0.000000,""}; +item283[] = {"__50",2,250,-1204.669312,570.434204,-1114.669312,620.434326,0.000000,""}; +item284[] = {"__51",2,250,-1105.989136,569.490601,-1015.989075,619.490723,0.000000,""}; +item285[] = {"",7,210,-1253.954956,183.078354,-1245.954956,191.078354,0.000000,""}; +item286[] = {"",7,210,-1328.249146,182.989151,-1320.249146,190.989151,0.000000,""}; +item287[] = {"",7,210,-1258.887085,431.185883,-1250.887085,439.185883,0.000000,""}; +item288[] = {"Min",8,218,-1234.655151,345.521027,-1144.655151,395.521027,1.000000,"Min"}; +item289[] = {"__52",2,250,-1368.661499,411.256866,-1278.661499,461.256866,0.000000,""}; +item290[] = {"__53",2,250,-1234.912231,411.565582,-1144.912231,461.565643,0.000000,""}; +item291[] = {"Direction__",2,250,-74.986649,-739.019409,15.013271,-689.019348,0.000000,"Direction: "}; +item292[] = {"Exit",8,218,-378.169373,-478.671539,-288.169434,-428.671570,0.000000,"Exit"}; +item293[] = {"Back",8,218,-140.974564,-477.875305,-50.974731,-427.875336,0.000000,"Back"}; +item294[] = {"Exit_5",1,250,-492.170837,-478.491852,-402.171356,-428.491760,0.000000,"Exit"}; +item295[] = {"Update_Speed",2,250,-355.964691,-1247.711914,-265.964691,-1197.711914,0.000000,"Update Speed"}; +item296[] = {"UP",8,218,-445.318848,-1368.930298,-355.318878,-1318.930908,0.000000,"UP"}; +item297[] = {"Down",8,218,-267.310272,-1368.377441,-177.310257,-1318.377441,0.000000,"Down"}; +item298[] = {"Save",8,218,-138.839417,-1313.127319,-48.839417,-1263.127319,0.000000,"Save"}; +item299[] = {"Back",8,218,-267.187714,-1228.161377,-177.187943,-1178.161377,0.000000,"Back"}; +item300[] = {"__54",2,250,-24.950378,-1313.038940,65.049683,-1263.038940,0.000000,""}; +item301[] = {"_",8,218,-140.816833,-1232.851196,-50.816833,-1182.851074,0.000000,""}; +item302[] = {"Increase",2,250,-445.983765,-1440.749268,-355.983795,-1390.749268,0.000000,"Increase"}; +item303[] = {"Max",8,218,-445.774048,-1516.929932,-355.774078,-1466.929932,1.000000,"Max"}; +item304[] = {"Descrease",2,250,-267.443451,-1444.049561,-177.443436,-1394.049561,0.000000,"Descrease"}; +item305[] = {"___0",2,250,-445.627808,-1589.204834,-355.627838,-1539.204834,0.000000,"2.0"}; +item306[] = {"Min",8,218,-268.181488,-1515.300293,-178.181473,-1465.300293,1.000000,"Min"}; +item307[] = {"___1",2,250,-268.153412,-1589.185547,-178.153397,-1539.185303,0.000000,"0.1"}; +item308[] = {"Update_Menu",2,250,-358.347931,-1725.884033,-268.347992,-1675.884033,0.000000,"Update Menu"}; +item309[] = {"_",8,218,-2072.794922,-1048.106201,-1982.794922,-998.106201,0.000000,""}; +item310[] = {"__55",2,250,-2072.968262,-1126.084717,-1982.968262,-1076.084961,0.000000,""}; +item311[] = {"__56",2,250,-1195.715454,1722.003662,-1105.715332,1772.003662,0.000000,""}; +item312[] = {"",7,210,-1350.309570,944.981567,-1342.309570,952.981567,0.000000,""}; +item313[] = {"__57",2,250,-75.392059,769.307373,14.608063,819.306885,0.000000,""}; +item314[] = {"_",8,218,-74.074280,841.390442,15.925646,891.389954,0.000000,""}; +item315[] = {"",7,210,-317.948822,-1568.605957,-309.948822,-1560.605957,0.000000,""}; +item316[] = {"_",8,218,-358.407074,-1653.501953,-268.406952,-1603.502197,0.000000,""}; +item317[] = {"_",8,218,-722.497803,-824.119568,-632.497559,-774.119446,0.000000,""}; +item318[] = {"__58",2,250,-722.435059,-898.588074,-632.435059,-848.588074,0.000000,""}; +item319[] = {"_",8,218,-609.417236,-898.566345,-519.417480,-848.566345,0.000000,""}; +item320[] = {"__59",2,250,-608.424316,-824.395325,-518.424316,-774.395203,0.000000,""}; +item321[] = {"_",8,218,-608.415527,-749.055481,-518.415527,-699.055481,0.000000,""}; +item322[] = {"__60",2,250,-607.923340,-672.913635,-517.923218,-622.913574,0.000000,""}; +item323[] = {"_",8,218,-2073.041504,-1202.415771,-1983.041504,-1152.415771,0.000000,""}; +item324[] = {"__61",2,250,-2073.026367,-1282.505615,-1983.026611,-1232.505859,0.000000,""}; +item325[] = {"_",8,218,-2072.604492,-1363.167236,-1982.604736,-1313.167480,0.000000,""}; +item326[] = {"__62",2,250,-2072.691895,-1441.892578,-1982.691895,-1391.892578,0.000000,""}; +item327[] = {"",7,210,-315.127716,-1291.817505,-307.127716,-1283.817505,0.000000,""}; +item328[] = {"_",8,218,86.836060,-1312.977539,176.836060,-1262.977539,0.000000,""}; +item329[] = {"__63",2,250,196.068359,-1309.577026,286.068237,-1259.577026,0.000000,""}; +item330[] = {"_",8,218,87.217651,-1233.992065,177.217651,-1183.992065,0.000000,""}; +item331[] = {"__64",2,250,-25.514221,-1233.680908,64.485840,-1183.680908,0.000000,""}; +item332[] = {"_",8,218,-1196.798950,1518.742554,-1106.798828,1568.742554,0.000000,""}; +item333[] = {"_",8,218,294.167114,-1268.395142,384.167114,-1218.395142,0.000000,""}; +item334[] = {"__65",2,250,194.215698,-1233.470215,284.215698,-1183.470215,0.000000,""}; +item335[] = {"__66",2,250,-1196.485352,1415.868408,-1106.485474,1465.868408,0.000000,""}; +item336[] = {"_",8,218,-1196.613770,1307.175903,-1106.613770,1357.175903,0.000000,""}; +item337[] = {"__67",2,250,-1195.457886,1061.337524,-1105.457886,1111.337524,0.000000,""}; +item338[] = {"__68",2,250,342.999512,767.894958,432.999512,817.894958,0.000000,""}; +item339[] = {"_",8,218,247.783844,767.968079,337.783813,817.968079,0.000000,""}; +item340[] = {"__69",2,250,151.191010,769.406555,241.191010,819.406494,0.000000,""}; +item341[] = {"_",8,218,50.937347,768.967529,140.937347,818.967590,0.000000,""}; +item342[] = {"__70",2,250,-2204.973633,413.132599,-2114.973633,463.132599,0.000000,""}; +item343[] = {"_",8,218,-2204.477539,310.114899,-2114.477539,360.114838,0.000000,""}; +item344[] = {"__71",2,250,-2204.500977,222.143051,-2114.500977,272.142944,0.000000,""}; +item345[] = {"_",8,218,-2204.506348,106.183853,-2114.506348,156.183746,0.000000,""}; +item346[] = {"__72",2,250,-1918.858276,105.803421,-1828.858276,155.803299,0.000000,""}; +item347[] = {"_",8,218,-1701.583862,104.983398,-1611.583862,154.983414,0.000000,""}; +item348[] = {"",7,210,-886.696655,1401.485107,-878.696655,1409.485107,0.000000,""}; +item349[] = {"",7,210,-795.275879,1400.370850,-787.275879,1408.370850,0.000000,""}; +item350[] = {"",7,210,-692.665649,1398.601685,-684.665649,1406.601685,0.000000,""}; +item351[] = {"",7,210,-589.170532,1399.486328,-581.170532,1407.486328,0.000000,""}; +item352[] = {"",7,210,-794.238770,2075.375732,-786.238770,2083.375732,0.000000,""}; +item353[] = {"",7,210,-794.200378,2141.438477,-786.200378,2149.438477,0.000000,""}; +item354[] = {"PT1",8,218,-760.907715,2174.394287,-674.414551,2231.408447,0.000000,"PT1"}; +item355[] = {"PT2",8,218,-619.017334,2176.062988,-532.523682,2233.077148,0.000000,"PT2"}; +item356[] = {"PT3",8,218,-487.335938,2174.448242,-400.842773,2231.462402,0.000000,"PT3"}; +item357[] = {"PT4",8,218,-339.568848,2177.961914,-253.075684,2234.976074,0.000000,"PT4"}; +item358[] = {"PT5",8,218,-199.430664,2178.014404,-112.937500,2235.028564,0.000000,"PT5"}; +item359[] = {"PT6",8,218,-40.429688,2176.859375,46.063477,2233.873535,0.000000,"PT6"}; +item360[] = {"PT7",8,218,114.534416,2173.241455,201.027588,2230.255615,0.000000,"PT7"}; +item361[] = {"PT8",8,218,260.831787,2169.134521,347.324829,2226.148926,0.000000,"PT8"}; +item362[] = {"__73",2,250,-762.275391,2259.385986,-675.782227,2316.399902,0.000000,""}; +item363[] = {"__74",2,250,-619.632568,2259.217285,-533.139404,2316.231201,0.000000,""}; +item364[] = {"__75",2,250,-486.832764,2256.584717,-400.339600,2313.598633,0.000000,""}; +item365[] = {"__76",2,250,-341.344482,2256.819092,-254.851807,2313.833008,0.000000,""}; +item366[] = {"__77",2,250,-198.694824,2255.296387,-112.201424,2312.310303,0.000000,""}; +item367[] = {"",7,210,-2.509521,2112.111816,5.490479,2120.111816,0.000000,""}; +item368[] = {"",7,210,-160.896851,2112.279785,-152.896851,2120.279785,0.000000,""}; +item369[] = {"__78",2,250,-40.520996,2255.640869,45.972168,2312.654297,0.000000,""}; +item370[] = {"",7,210,-300.557373,2112.333984,-292.557373,2120.333740,0.000000,""}; +item371[] = {"",7,210,-447.810059,2112.057129,-439.810059,2120.056885,0.000000,""}; +item372[] = {"",7,210,-581.801514,2111.120117,-573.801514,2119.120117,0.000000,""}; +item373[] = {"__79",2,250,114.299438,2253.337402,200.792358,2310.351318,0.000000,""}; +item374[] = {"",7,210,-722.156494,2111.020020,-714.156494,2119.019775,0.000000,""}; +item375[] = {"",7,210,154.131104,2112.142822,162.130981,2120.142578,0.000000,""}; +item376[] = {"__80",2,250,261.041260,2247.897705,347.534058,2304.911621,0.000000,""}; +item377[] = {"",7,210,146.685425,2353.105957,154.685425,2361.105957,0.000000,""}; +item378[] = {"",7,210,-11.701935,2353.273926,-3.701935,2361.273926,0.000000,""}; +item379[] = {"",7,210,-151.362473,2353.328125,-143.362473,2361.327881,0.000000,""}; +item380[] = {"",7,210,-298.615082,2353.051270,-290.615082,2361.051025,0.000000,""}; +item381[] = {"",7,210,-432.606537,2352.114258,-424.606537,2360.114258,0.000000,""}; +item382[] = {"",7,210,-572.961670,2352.014160,-564.961792,2360.013916,0.000000,""}; +item383[] = {"",7,210,303.326080,2353.136963,311.325958,2361.136719,0.000000,""}; +item384[] = {"",7,210,-711.831665,2353.763184,-703.831665,2361.763184,0.000000,""}; +item385[] = {"",7,210,-616.133972,1743.450439,-608.133972,1751.450439,0.000000,""}; +item386[] = {"",7,210,-1252.019653,945.348145,-1244.019653,953.348145,0.000000,""}; +item387[] = {"__81",2,250,-1293.318970,1059.786011,-1203.318970,1109.786011,0.000000,""}; +item388[] = {"",7,210,-406.594971,1517.069336,-398.594971,1525.069336,0.000000,""}; +item389[] = {"",7,210,-311.140869,1517.204346,-303.140869,1525.204346,0.000000,""}; +item390[] = {"",7,210,-214.248978,1517.167114,-206.248978,1525.167114,0.000000,""}; +item391[] = {"",7,210,-118.769577,1517.167114,-110.769577,1525.167114,0.000000,""}; +item392[] = {"",7,210,-22.243927,1517.279175,-14.243927,1525.279175,0.000000,""}; +item393[] = {"",7,210,148.157669,296.079620,156.157639,304.079620,0.000000,""}; +item394[] = {"",7,210,-432.436737,1020.792419,-424.436737,1028.792358,0.000000,""}; +item395[] = {"",7,210,51.416321,295.747772,59.416321,303.747772,0.000000,""}; +item396[] = {"",7,210,-215.134644,1350.584229,-207.134644,1358.584229,0.000000,""}; +item397[] = {"",7,210,-310.685120,1350.526001,-302.685120,1358.526001,0.000000,""}; +item398[] = {"",7,210,-404.661072,1350.742065,-396.661072,1358.742065,0.000000,""}; +item399[] = {"",7,210,-118.313599,1350.689453,-110.313599,1358.689453,0.000000,""}; +item400[] = {"",7,210,-21.860229,1350.339111,-13.860229,1358.339111,0.000000,""}; +item401[] = {"",7,210,-533.676575,1020.717529,-525.676575,1028.717529,0.000000,""}; +item402[] = {"",7,210,-127.517868,1020.661072,-119.517868,1028.661133,0.000000,""}; +item403[] = {"",7,210,-26.435333,1020.847717,-18.435333,1028.847656,0.000000,""}; +item404[] = {"",7,210,-630.694702,1021.064209,-622.694702,1029.064209,0.000000,""}; +item405[] = {"",7,210,-533.695496,1129.187134,-525.695496,1137.187134,0.000000,""}; +item406[] = {"",7,210,-432.046692,1129.250610,-424.046692,1137.250610,0.000000,""}; +item407[] = {"",7,210,-982.861572,1128.767334,-974.861572,1136.767334,0.000000,""}; +item408[] = {"",7,210,287.041351,1011.573914,295.041351,1019.573914,0.000000,""}; +item409[] = {"",7,210,382.466309,1011.384216,390.466309,1019.384216,0.000000,""}; +item410[] = {"",7,210,480.396362,1011.283691,488.396362,1019.283691,0.000000,""}; +item411[] = {"",7,210,96.874451,836.693298,104.874451,844.693298,0.000000,""}; +item412[] = {"",7,210,191.620392,836.672241,199.620392,844.672241,0.000000,""}; +item413[] = {"",7,210,287.823090,836.672241,295.823090,844.672241,0.000000,""}; +item414[] = {"",7,210,382.494141,836.672180,390.494141,844.672180,0.000000,""}; +item415[] = {"",7,210,480.724121,836.793457,488.724121,844.793457,0.000000,""}; +item416[] = {"",7,210,-724.484314,1020.611572,-716.484314,1028.611572,0.000000,""}; +item417[] = {"",7,210,-432.517975,1269.160889,-424.517975,1277.160889,0.000000,""}; +item418[] = {"",7,210,-983.784790,1270.767334,-975.784790,1278.767334,0.000000,""}; +item419[] = {"",7,210,-567.073364,-564.562866,-559.073364,-556.562866,0.000000,""}; +item420[] = {"",7,210,145.408401,-5.597553,153.408401,2.402447,0.000000,""}; +item421[] = {"",7,210,50.075363,-5.540089,58.075363,2.459911,0.000000,""}; +item422[] = {"",7,210,-45.859177,-5.540089,-37.859177,2.459911,0.000000,""}; +item423[] = {"",7,210,240.271713,-5.561008,248.271713,2.438992,0.000000,""}; +item424[] = {"",7,210,337.410034,-5.561008,345.410034,2.438992,0.000000,""}; +item425[] = {"__82",2,250,201.171249,218.847641,291.171265,268.847626,0.000000,""}; +item426[] = {"__83",2,250,8.871384,218.046127,98.871399,268.046051,0.000000,""}; +item427[] = {"",7,210,148.695419,239.384567,156.695389,247.384567,0.000000,""}; +item428[] = {"",7,210,-41.881668,295.390961,-33.881638,303.390961,0.000000,""}; +item429[] = {"",7,210,244.971146,296.340729,252.971146,304.340729,0.000000,""}; +item430[] = {"",7,210,339.595581,296.172272,347.595581,304.172272,0.000000,""}; +item431[] = {"",7,210,-41.980331,466.799591,-33.980331,474.799591,0.000000,""}; +item432[] = {"",7,210,52.124954,466.853668,60.124954,474.853668,0.000000,""}; +item433[] = {"",7,210,148.712357,466.860382,156.712234,474.860382,0.000000,""}; +item434[] = {"",7,210,243.111221,467.071198,251.111221,475.071198,0.000000,""}; +item435[] = {"",7,210,341.863525,467.007599,349.863525,475.007599,0.000000,""}; +item436[] = {"",7,210,-723.965332,-73.856003,-715.965332,-65.856003,0.000000,""}; +item437[] = {"",7,210,-24.862524,-73.856117,-16.862524,-65.856117,0.000000,""}; +item438[] = {"",7,210,-225.894608,-1291.908691,-217.894608,-1283.908691,0.000000,""}; +item439[] = {"",7,210,-404.737305,-1291.610107,-396.737305,-1283.610107,0.000000,""}; +item440[] = {"",7,210,-226.265457,-1141.252441,-218.265457,-1133.252441,0.000000,""}; +item441[] = {"",7,210,-1449.637085,645.678833,-1441.637085,653.678833,0.000000,""}; +item442[] = {"",7,210,-1354.525757,645.772095,-1346.526001,653.772095,0.000000,""}; +item443[] = {"",7,210,-1258.538208,645.719727,-1250.538208,653.719727,0.000000,""}; +item444[] = {"",7,210,-1163.371460,645.719604,-1155.371460,653.719604,0.000000,""}; +item445[] = {"",7,210,-1065.201294,645.719604,-1057.201294,653.719604,0.000000,""}; +item446[] = {"",7,210,-1194.820679,182.977631,-1186.820679,190.977631,0.000000,""}; +item447[] = {"",7,210,-1088.470581,183.037994,-1080.470581,191.037994,0.000000,""}; +item448[] = {"",7,210,-1258.822388,475.576385,-1250.822388,483.576385,0.000000,""}; +item449[] = {"",7,210,-1355.194702,475.728180,-1347.194946,483.728180,0.000000,""}; +item450[] = {"",7,210,-1448.914917,475.926666,-1440.914917,483.926666,0.000000,""}; +item451[] = {"",7,210,-1162.276245,475.557465,-1154.276245,483.557465,0.000000,""}; +item452[] = {"",7,210,-1067.147583,475.700531,-1059.147583,483.700531,0.000000,""}; +item453[] = {"",7,210,-1657.741577,326.304047,-1649.741577,334.304047,0.000000,""}; +item454[] = {"",7,210,-1756.533081,326.317535,-1748.533081,334.317535,0.000000,""}; +item455[] = {"",7,210,-1853.477905,326.317535,-1845.477905,334.317535,0.000000,""}; +item456[] = {"",7,210,-1951.083374,326.152130,-1943.083374,334.152130,0.000000,""}; +item457[] = {"",7,210,-2046.424194,326.147186,-2038.424194,334.147186,0.000000,""}; +item458[] = {"",7,210,-1657.549683,510.855408,-1649.549683,518.855347,0.000000,""}; +item459[] = {"",7,210,-1756.576050,511.061218,-1748.576050,519.061157,0.000000,""}; +item460[] = {"",7,210,-1853.205444,511.086243,-1845.205444,519.086182,0.000000,""}; +item461[] = {"",7,210,-1951.319214,511.225037,-1943.319214,519.225098,0.000000,""}; +item462[] = {"",7,210,-2046.155640,511.072083,-2038.155640,519.072144,0.000000,""}; +item463[] = {"",7,210,-724.821655,182.598526,-716.821655,190.598526,0.000000,""}; +item464[] = {"",7,210,-220.948776,-261.343811,-212.948776,-253.343811,0.000000,""}; +item465[] = {"",7,210,-778.055176,-260.508057,-770.055176,-252.508057,0.000000,""}; +item466[] = {"",7,210,-1036.210571,-261.316193,-1028.210571,-253.316193,0.000000,""}; +item467[] = {"_",8,218,-1387.295654,1614.441162,-1297.295654,1664.441162,0.000000,""}; +item468[] = {"",7,210,-1322.875854,2435.140625,-1314.875854,2443.140625,0.000000,""}; +item469[] = {"WP_NUM_0",8,218,-212.649292,1859.476563,-122.648247,1909.476563,0.000000,"WP NUM 0"}; +item470[] = {"WP_NUM_1_1",8,218,-101.658623,1859.331421,-11.658638,1909.331299,0.000000,"WP NUM 1"}; +item471[] = {"WP_NUM_2_1",8,218,10.751518,1859.480347,100.751160,1909.480469,0.000000,"WP NUM 2"}; +item472[] = {"WP_NUM_3_1",8,218,120.450737,1858.328857,210.450745,1908.328857,0.000000,"WP NUM 3"}; +item473[] = {"WP_NUM_4_1",8,218,233.503723,1857.663574,323.503448,1907.663818,0.000000,"WP NUM 4"}; +item474[] = {"WP0_3",2,250,-212.051575,1789.173096,-122.051453,1839.173096,0.000000,"WP0"}; +item475[] = {"WP1_3",2,250,-102.163261,1787.666138,-12.163277,1837.666138,0.000000,"WP1"}; +item476[] = {"WP2_3",2,250,10.514458,1788.489380,100.513847,1838.489380,0.000000,"WP2"}; +item477[] = {"WP3_3",2,250,120.408020,1788.364868,210.408020,1838.364868,0.000000,"WP3"}; +item478[] = {"WP4_3",2,250,232.771545,1785.470215,322.771515,1835.470215,0.000000,"WP4"}; +item479[] = {"",7,210,-60.733727,1933.223145,-52.733711,1941.223267,0.000000,""}; +item480[] = {"",7,210,51.601013,1933.987427,59.601013,1941.987427,0.000000,""}; +item481[] = {"",7,210,161.643127,1933.987427,169.643127,1941.987427,0.000000,""}; +item482[] = {"",7,210,273.977814,1933.987427,281.977814,1941.987427,0.000000,""}; +item483[] = {"",7,210,-170.563110,1742.228638,-162.563110,1750.228638,0.000000,""}; +item484[] = {"",7,210,274.236969,1742.775879,282.236969,1750.775879,0.000000,""}; +item485[] = {"",7,210,161.535950,1742.085938,169.535950,1750.085938,0.000000,""}; +item486[] = {"",7,210,51.837463,1742.022705,59.837463,1750.022705,0.000000,""}; +item487[] = {"",7,210,-61.862267,1742.054321,-53.862251,1750.054321,0.000000,""}; +item488[] = {"",7,210,-175.691742,1930.357666,-167.691742,1938.357666,0.000000,""}; +item489[] = {"_",4,218,-256.551758,867.110107,-166.551804,917.110107,0.000000,""}; +item490[] = {"Set_selection",2,250,-256.424866,940.539429,-166.424896,990.539429,0.000000,"Set selection"}; +item491[] = {"Start_Main_Menu_1",0,250,103.936913,-264.336792,193.936874,-214.336807,0.000000,"Start Main Menu"}; +item492[] = {"_",8,218,104.621971,-191.381851,194.621964,-141.381851,1.000000,""}; +item493[] = {"Power",8,218,-1567.101929,248.587280,-1477.101685,298.587280,0.000000,"Power"}; +item494[] = {"Exit_6",1,250,-1564.294434,345.223267,-1474.294312,395.223267,0.000000,"Exit"}; +item495[] = {"",7,210,-1038.590576,-678.705444,-1030.590576,-670.705444,0.000000,""}; +item496[] = {"",7,210,-1097.972656,-678.054810,-1089.972656,-670.054810,0.000000,""}; +item497[] = {"",7,210,-975.690674,-678.718384,-967.690674,-670.718384,0.000000,""}; +item498[] = {"UP",8,218,-1139.954712,-767.519714,-1049.954712,-717.519714,0.000000,"UP"}; +item499[] = {"DOWN",8,218,-1017.448425,-766.574646,-927.448364,-716.574646,0.000000,"DOWN"}; +item500[] = {"Change_Selection_6",2,250,-1141.657715,-843.302734,-1051.657715,-793.302734,0.000000,"Change" \n "Selection"}; +item501[] = {"Change_Selection_7",2,250,-1017.054871,-840.226074,-927.054871,-790.226074,0.000000,"Change" \n "Selection"}; +item502[] = {"Min",8,218,-1146.272705,-925.949341,-1056.272705,-875.949341,0.000000,"Min"}; +item503[] = {"Max",8,218,-1017.054871,-925.949341,-927.054871,-875.949341,0.000000,"Max"}; +item504[] = {"__84",2,250,-1239.527832,-974.756653,-1149.527832,-924.756592,0.000000,""}; +item505[] = {"__85",2,250,-911.542114,-971.209473,-821.542114,-921.209534,0.000000,""}; +item506[] = {"",7,210,-1041.667725,-950.562256,-1033.667725,-942.562256,0.000000,""}; +item507[] = {"",7,210,-1041.744629,-980.704895,-1033.744629,-972.704895,0.000000,""}; +item508[] = {"",7,210,-959.753113,-979.998962,-951.753113,-971.998962,0.000000,""}; +item509[] = {"",7,210,-1123.741333,-980.118408,-1115.741333,-972.118408,0.000000,""}; +item510[] = {"Selection_0",8,218,-1165.563232,-1066.930176,-1075.563232,-1016.930176,0.000000,"Selection 0"}; +item511[] = {"Selection_1",8,218,-1002.293579,-1066.930176,-912.293640,-1016.930176,0.000000,"Selection 1"}; +item512[] = {"__86",2,250,-1164.745605,-1146.702881,-1074.745605,-1096.702881,0.000000,""}; +item513[] = {"__87",2,250,-1005.912170,-1154.366333,-915.912170,-1104.366333,0.000000,""}; +item514[] = {"SOFLAM",2,250,-1519.275391,-964.519653,-1429.275391,-914.519653,0.000000,"SOFLAM"}; +item515[] = {"_",8,218,-1517.483643,-1040.127808,-1427.483887,-990.127808,0.000000,""}; +item516[] = {"__88",2,250,-1517.656982,-1118.106323,-1427.657227,-1068.106567,0.000000,""}; +item517[] = {"_",8,218,-1517.730225,-1194.437378,-1427.730469,-1144.437378,0.000000,""}; +item518[] = {"__89",2,250,-1517.715332,-1274.527466,-1427.715576,-1224.527466,0.000000,""}; +item519[] = {"_",8,218,-1517.293457,-1355.189087,-1427.293701,-1305.189087,0.000000,""}; +item520[] = {"__90",2,250,-1517.380615,-1433.914185,-1427.380859,-1383.914185,0.000000,""}; +item521[] = {"Has_SOFLAM",8,218,-1649.750977,-1433.119019,-1559.750977,-1383.119019,0.000000,"Has SOFLAM"}; +item522[] = {"Return_to_Main_M_1",2,250,-1649.750977,-1267.739380,-1559.750977,-1217.739380,0.000000,"Return to" \n "Main Menu"}; +item523[] = {"No_SOFLAM",4,218,-1361.562012,-1431.890137,-1271.561890,-1381.890137,0.000000,"No SOFLAM"}; +item524[] = {"Error_Message_2",2,250,-1361.562012,-1323.258301,-1271.561890,-1273.258301,0.000000,"Error Message"}; +item525[] = {"",7,210,-1122.780396,-1188.159546,-1114.780396,-1180.159546,0.000000,""}; +item526[] = {"",7,210,-965.447205,-1187.704712,-957.447205,-1179.704712,0.000000,""}; +item527[] = {"",7,210,-1051.138916,-1188.155273,-1043.138916,-1180.155273,0.000000,""}; +item528[] = {"_",8,218,-1091.183716,-1257.695557,-1001.183716,-1207.695557,0.000000,""}; +item529[] = {"ConnectTo__Menu",2,250,-835.925415,-1258.131958,-745.925537,-1208.131958,0.000000,"ConnectTo " \n "Menu"}; +item530[] = {"selection_0",8,218,-1734.930420,-816.728333,-1644.930420,-766.728333,0.000000,"selection 0"}; +item531[] = {"selection_1",8,218,-1519.811890,-817.294250,-1429.811768,-767.294250,0.000000,"selection 1"}; +item532[] = {"__91",2,250,-1629.846924,-745.150330,-1539.846924,-695.150330,0.000000,""}; +item533[] = {"",7,210,-1036.093750,-611.222778,-1028.093872,-603.222778,0.000000,""}; +item534[] = {"",7,210,-1588.710205,-796.081177,-1580.710205,-788.081177,0.000000,""}; +item535[] = {"Select",8,218,-208.838928,-919.559814,-118.839287,-869.559814,0.000000,"Select"}; +item536[] = {"",7,210,324.897278,-449.721375,332.897278,-441.721375,0.000000,""}; +item537[] = {"",7,210,259.044373,-449.048126,267.044373,-441.048126,0.000000,""}; +item538[] = {"",7,210,391.572388,-449.734314,399.572388,-441.734314,0.000000,""}; +item539[] = {"UP",8,218,219.757874,-539.479431,309.757874,-489.479431,0.000000,"UP"}; +item540[] = {"DOWN",8,218,353.589966,-539.478210,443.589966,-489.478210,0.000000,"DOWN"}; +item541[] = {"Change_Selection_8",2,250,221.830139,-614.318665,311.830139,-564.318665,0.000000,"Change" \n "Selection"}; +item542[] = {"Change_Selection_9",2,250,346.432983,-611.242004,436.432983,-561.242004,0.000000,"Change" \n "Selection"}; +item543[] = {"Min",8,218,217.215149,-696.965271,307.215149,-646.965271,0.000000,"Min"}; +item544[] = {"Max",8,218,346.432983,-696.965271,436.432983,-646.965271,0.000000,"Max"}; +item545[] = {"__92",2,250,120.275269,-743.008972,210.275269,-693.008911,0.000000,""}; +item546[] = {"__93",2,250,449.091736,-742.428894,539.091736,-692.428955,0.000000,""}; +item547[] = {"",7,210,321.820129,-721.578186,329.820129,-713.578186,0.000000,""}; +item548[] = {"",7,210,321.743225,-751.720825,329.743225,-743.720825,0.000000,""}; +item549[] = {"",7,210,402.836212,-752.003906,410.836212,-744.003906,0.000000,""}; +item550[] = {"",7,210,240.645157,-752.145996,248.645157,-744.145996,0.000000,""}; +item551[] = {"Selection_0",8,218,197.924622,-837.946106,287.924622,-787.946106,0.000000,"Selection 0"}; +item552[] = {"Selection_1",8,218,361.194275,-837.946106,451.194214,-787.946106,0.000000,"Selection 1"}; +item553[] = {"__94",2,250,198.742249,-917.718811,288.742249,-867.718811,0.000000,""}; +item554[] = {"__95",2,250,357.575684,-925.382263,447.575684,-875.382263,0.000000,""}; +item555[] = {"",7,210,238.842422,-959.084961,246.842422,-951.084961,0.000000,""}; +item556[] = {"",7,210,398.040649,-959.641785,406.040649,-951.641785,0.000000,""}; +item557[] = {"",7,210,312.348938,-959.171204,320.348938,-951.171204,0.000000,""}; +item558[] = {"_",8,218,272.304138,-1028.711548,362.304138,-978.711487,0.000000,""}; +item559[] = {"Options_Menu_1",2,250,203.129807,-1104.375366,293.129822,-1054.375366,0.000000,"Options Menu"}; +item560[] = {"selection_0",8,218,-355.315491,-1071.377563,-265.315552,-1021.377686,0.000000,"selection 0"}; +item561[] = {"selection_1",8,218,-74.372467,-1072.501221,15.627525,-1022.501221,0.000000,"selection 1"}; +item562[] = {"__96",2,250,-211.585632,-996.101685,-121.585632,-946.101685,0.000000,""}; +item563[] = {"",7,210,-170.664185,-1050.451660,-162.664185,-1042.451660,0.000000,""}; +item564[] = {"",7,210,-337.616425,-716.595276,-329.616394,-708.595276,0.000000,""}; +item565[] = {"Power",8,218,-78.689522,-1504.391357,11.310736,-1454.391357,0.000000,"Power"}; +item566[] = {"Exit_7",1,250,-75.882027,-1407.755371,14.118109,-1357.755371,0.000000,"Exit"}; +item567[] = {"Add_from_Vector",8,218,-1485.956055,1845.456299,-1395.956055,1895.456299,0.000000,"Add from" \n "Vector"}; +item568[] = {"setting_up_the_g",2,250,-1522.787842,1785.769897,-1432.787842,1835.769897,0.000000,"setting up" \n "the grid"}; +item569[] = {"",7,210,-793.350098,-610.043945,-785.350098,-602.043945,0.000000,""}; +item570[] = {"",7,210,-1318.003296,-867.866821,-1310.003296,-859.866821,0.000000,""}; +item571[] = {"",7,210,-2139.603271,-678.507629,-2131.603271,-670.507629,0.000000,""}; +item572[] = {"",7,210,-1898.599976,-567.395874,-1890.599976,-559.395874,0.000000,""}; +link0[] = {0,420}; +link1[] = {1,43}; +link2[] = {2,41}; +link3[] = {3,39}; +link4[] = {4,420}; +link5[] = {5,6}; +link6[] = {6,9}; +link7[] = {6,10}; +link8[] = {6,464}; +link9[] = {7,12}; +link10[] = {8,14}; +link11[] = {9,21}; +link12[] = {10,22}; +link13[] = {11,15}; +link14[] = {12,317}; +link15[] = {13,437}; +link16[] = {14,293}; +link17[] = {14,564}; +link18[] = {15,17}; +link19[] = {15,533}; +link20[] = {16,532}; +link21[] = {17,436}; +link22[] = {18,48}; +link23[] = {19,44}; +link24[] = {20,309}; +link25[] = {21,23}; +link26[] = {21,24}; +link27[] = {22,107}; +link28[] = {22,489}; +link29[] = {23,25}; +link30[] = {24,26}; +link31[] = {25,13}; +link32[] = {26,285}; +link33[] = {27,272}; +link34[] = {28,271}; +link35[] = {29,33}; +link36[] = {30,285}; +link37[] = {31,463}; +link38[] = {32,40}; +link39[] = {33,453}; +link40[] = {33,493}; +link41[] = {34,51}; +link42[] = {35,52}; +link43[] = {36,53}; +link44[] = {37,54}; +link45[] = {38,55}; +link46[] = {41,50}; +link47[] = {41,427}; +link48[] = {42,100}; +link49[] = {43,106}; +link50[] = {43,427}; +link51[] = {44,571}; +link52[] = {45,15}; +link53[] = {46,47}; +link54[] = {48,572}; +link55[] = {49,30}; +link56[] = {50,426}; +link57[] = {51,462}; +link58[] = {52,461}; +link59[] = {53,460}; +link60[] = {54,459}; +link61[] = {55,458}; +link62[] = {56,342}; +link63[] = {57,419}; +link64[] = {58,64}; +link65[] = {59,65}; +link66[] = {60,405}; +link67[] = {61,406}; +link68[] = {62,70}; +link69[] = {63,463}; +link70[] = {64,91}; +link71[] = {64,120}; +link72[] = {65,120}; +link73[] = {65,250}; +link74[] = {66,248}; +link75[] = {67,121}; +link76[] = {68,71}; +link77[] = {68,183}; +link78[] = {69,256}; +link79[] = {69,348}; +link80[] = {70,108}; +link81[] = {71,73}; +link82[] = {72,255}; +link83[] = {73,312}; +link84[] = {74,22}; +link85[] = {75,76}; +link86[] = {75,253}; +link87[] = {76,81}; +link88[] = {77,82}; +link89[] = {78,83}; +link90[] = {79,84}; +link91[] = {80,85}; +link92[] = {81,268}; +link93[] = {82,385}; +link94[] = {83,276}; +link95[] = {84,270}; +link96[] = {85,269}; +link97[] = {86,311}; +link98[] = {87,467}; +link99[] = {88,127}; +link100[] = {89,123}; +link101[] = {90,132}; +link102[] = {91,251}; +link103[] = {92,101}; +link104[] = {93,102}; +link105[] = {94,184}; +link106[] = {95,387}; +link107[] = {96,114}; +link108[] = {97,115}; +link109[] = {98,103}; +link110[] = {99,104}; +link111[] = {100,431}; +link112[] = {101,432}; +link113[] = {102,433}; +link114[] = {103,434}; +link115[] = {104,435}; +link116[] = {105,4}; +link117[] = {106,425}; +link118[] = {107,109}; +link119[] = {108,110}; +link120[] = {108,237}; +link121[] = {109,401}; +link122[] = {110,238}; +link123[] = {110,408}; +link124[] = {111,116}; +link125[] = {112,117}; +link126[] = {113,118}; +link127[] = {114,388}; +link128[] = {115,389}; +link129[] = {116,390}; +link130[] = {117,391}; +link131[] = {118,392}; +link132[] = {119,66}; +link133[] = {120,396}; +link134[] = {122,236}; +link135[] = {123,124}; +link136[] = {123,352}; +link137[] = {124,125}; +link138[] = {125,352}; +link139[] = {126,144}; +link140[] = {127,128}; +link141[] = {127,353}; +link142[] = {128,129}; +link143[] = {129,353}; +link144[] = {130,361}; +link145[] = {131,72}; +link146[] = {131,88}; +link147[] = {131,89}; +link148[] = {131,90}; +link149[] = {131,94}; +link150[] = {131,95}; +link151[] = {131,122}; +link152[] = {131,567}; +link153[] = {132,140}; +link154[] = {132,175}; +link155[] = {133,141}; +link156[] = {134,145}; +link157[] = {135,149}; +link158[] = {136,153}; +link159[] = {137,159}; +link160[] = {138,165}; +link161[] = {139,171}; +link162[] = {140,177}; +link163[] = {141,126}; +link164[] = {141,142}; +link165[] = {142,143}; +link166[] = {143,126}; +link167[] = {144,148}; +link168[] = {145,144}; +link169[] = {145,146}; +link170[] = {146,147}; +link171[] = {147,144}; +link172[] = {148,152}; +link173[] = {149,148}; +link174[] = {149,150}; +link175[] = {150,151}; +link176[] = {151,148}; +link177[] = {152,155}; +link178[] = {153,152}; +link179[] = {153,154}; +link180[] = {154,156}; +link181[] = {155,157}; +link182[] = {156,152}; +link183[] = {157,158}; +link184[] = {158,161}; +link185[] = {159,155}; +link186[] = {159,160}; +link187[] = {160,162}; +link188[] = {161,468}; +link189[] = {162,155}; +link190[] = {163,138}; +link191[] = {163,164}; +link192[] = {164,137}; +link193[] = {164,167}; +link194[] = {165,157}; +link195[] = {165,166}; +link196[] = {166,168}; +link197[] = {167,136}; +link198[] = {167,169}; +link199[] = {168,157}; +link200[] = {169,135}; +link201[] = {169,170}; +link202[] = {170,134}; +link203[] = {170,173}; +link204[] = {171,158}; +link205[] = {171,172}; +link206[] = {172,174}; +link207[] = {173,133}; +link208[] = {174,158}; +link209[] = {175,139}; +link210[] = {175,163}; +link211[] = {176,179}; +link212[] = {177,161}; +link213[] = {177,178}; +link214[] = {178,180}; +link215[] = {179,181}; +link216[] = {180,161}; +link217[] = {181,182}; +link218[] = {182,195}; +link219[] = {183,87}; +link220[] = {184,185}; +link221[] = {184,207}; +link222[] = {185,193}; +link223[] = {186,199}; +link224[] = {187,205}; +link225[] = {188,211}; +link226[] = {189,216}; +link227[] = {190,221}; +link228[] = {191,226}; +link229[] = {192,231}; +link230[] = {193,194}; +link231[] = {193,204}; +link232[] = {194,196}; +link233[] = {195,198}; +link234[] = {196,204}; +link235[] = {197,131}; +link236[] = {198,201}; +link237[] = {199,200}; +link238[] = {199,201}; +link239[] = {200,202}; +link240[] = {201,204}; +link241[] = {202,201}; +link242[] = {203,209}; +link243[] = {204,209}; +link244[] = {205,198}; +link245[] = {205,206}; +link246[] = {206,208}; +link247[] = {207,186}; +link248[] = {207,210}; +link249[] = {208,198}; +link250[] = {209,131}; +link251[] = {210,187}; +link252[] = {210,213}; +link253[] = {211,195}; +link254[] = {211,212}; +link255[] = {212,214}; +link256[] = {213,188}; +link257[] = {213,215}; +link258[] = {214,195}; +link259[] = {215,189}; +link260[] = {215,218}; +link261[] = {216,182}; +link262[] = {216,217}; +link263[] = {217,219}; +link264[] = {218,190}; +link265[] = {218,220}; +link266[] = {219,182}; +link267[] = {220,191}; +link268[] = {220,223}; +link269[] = {221,181}; +link270[] = {221,222}; +link271[] = {222,224}; +link272[] = {223,192}; +link273[] = {224,181}; +link274[] = {225,228}; +link275[] = {226,179}; +link276[] = {226,227}; +link277[] = {227,229}; +link278[] = {228,230}; +link279[] = {229,179}; +link280[] = {230,233}; +link281[] = {231,176}; +link282[] = {231,232}; +link283[] = {232,234}; +link284[] = {233,235}; +link285[] = {234,176}; +link286[] = {235,467}; +link287[] = {237,242}; +link288[] = {238,243}; +link289[] = {239,244}; +link290[] = {240,245}; +link291[] = {241,246}; +link292[] = {242,411}; +link293[] = {243,412}; +link294[] = {244,413}; +link295[] = {245,414}; +link296[] = {246,415}; +link297[] = {247,338}; +link298[] = {248,249}; +link299[] = {248,402}; +link300[] = {249,58}; +link301[] = {249,394}; +link302[] = {250,252}; +link303[] = {251,120}; +link304[] = {252,120}; +link305[] = {253,77}; +link306[] = {253,254}; +link307[] = {254,78}; +link308[] = {254,266}; +link309[] = {255,75}; +link310[] = {256,261}; +link311[] = {257,262}; +link312[] = {258,263}; +link313[] = {259,264}; +link314[] = {260,265}; +link315[] = {261,235}; +link316[] = {262,233}; +link317[] = {263,230}; +link318[] = {264,228}; +link319[] = {265,225}; +link320[] = {266,79}; +link321[] = {266,267}; +link322[] = {267,80}; +link323[] = {267,488}; +link324[] = {268,86}; +link325[] = {269,270}; +link326[] = {270,276}; +link327[] = {271,273}; +link328[] = {271,287}; +link329[] = {272,287}; +link330[] = {272,288}; +link331[] = {273,289}; +link332[] = {274,280}; +link333[] = {275,281}; +link334[] = {276,385}; +link335[] = {277,282}; +link336[] = {278,283}; +link337[] = {279,284}; +link338[] = {280,441}; +link339[] = {281,442}; +link340[] = {282,443}; +link341[] = {283,444}; +link342[] = {284,445}; +link343[] = {285,286}; +link344[] = {285,446}; +link345[] = {286,28}; +link346[] = {286,29}; +link347[] = {287,448}; +link348[] = {288,290}; +link349[] = {289,287}; +link350[] = {290,287}; +link351[] = {291,564}; +link352[] = {292,294}; +link353[] = {293,437}; +link354[] = {295,327}; +link355[] = {296,302}; +link356[] = {297,304}; +link357[] = {298,300}; +link358[] = {299,440}; +link359[] = {300,328}; +link360[] = {301,440}; +link361[] = {302,303}; +link362[] = {302,315}; +link363[] = {303,305}; +link364[] = {304,306}; +link365[] = {304,315}; +link366[] = {305,315}; +link367[] = {306,307}; +link368[] = {307,315}; +link369[] = {308,327}; +link370[] = {309,310}; +link371[] = {310,323}; +link372[] = {311,332}; +link373[] = {312,386}; +link374[] = {313,314}; +link375[] = {314,22}; +link376[] = {315,316}; +link377[] = {316,308}; +link378[] = {317,318}; +link379[] = {318,319}; +link380[] = {319,320}; +link381[] = {320,321}; +link382[] = {321,322}; +link383[] = {322,419}; +link384[] = {323,324}; +link385[] = {324,325}; +link386[] = {325,326}; +link387[] = {326,18}; +link388[] = {326,19}; +link389[] = {327,438}; +link390[] = {327,439}; +link391[] = {328,329}; +link392[] = {329,333}; +link393[] = {330,331}; +link394[] = {331,301}; +link395[] = {332,335}; +link396[] = {333,334}; +link397[] = {334,330}; +link398[] = {335,336}; +link399[] = {336,337}; +link400[] = {337,74}; +link401[] = {338,339}; +link402[] = {339,340}; +link403[] = {340,341}; +link404[] = {341,313}; +link405[] = {342,343}; +link406[] = {343,344}; +link407[] = {344,345}; +link408[] = {345,346}; +link409[] = {346,347}; +link410[] = {347,26}; +link411[] = {348,257}; +link412[] = {348,349}; +link413[] = {349,258}; +link414[] = {349,350}; +link415[] = {350,259}; +link416[] = {350,351}; +link417[] = {351,260}; +link418[] = {352,374}; +link419[] = {353,374}; +link420[] = {354,362}; +link421[] = {355,363}; +link422[] = {356,364}; +link423[] = {357,365}; +link424[] = {358,366}; +link425[] = {359,369}; +link426[] = {360,373}; +link427[] = {361,376}; +link428[] = {362,384}; +link429[] = {363,382}; +link430[] = {364,381}; +link431[] = {365,380}; +link432[] = {366,379}; +link433[] = {367,359}; +link434[] = {367,375}; +link435[] = {368,358}; +link436[] = {368,367}; +link437[] = {369,378}; +link438[] = {370,357}; +link439[] = {370,368}; +link440[] = {371,356}; +link441[] = {371,370}; +link442[] = {372,355}; +link443[] = {372,371}; +link444[] = {373,377}; +link445[] = {374,354}; +link446[] = {374,372}; +link447[] = {375,130}; +link448[] = {375,360}; +link449[] = {376,383}; +link450[] = {377,378}; +link451[] = {378,379}; +link452[] = {379,380}; +link453[] = {380,381}; +link454[] = {381,382}; +link455[] = {382,384}; +link456[] = {383,377}; +link457[] = {384,468}; +link458[] = {385,268}; +link459[] = {386,74}; +link460[] = {387,386}; +link461[] = {388,389}; +link462[] = {389,390}; +link463[] = {390,119}; +link464[] = {391,390}; +link465[] = {392,391}; +link466[] = {393,93}; +link467[] = {393,395}; +link468[] = {393,429}; +link469[] = {394,61}; +link470[] = {394,401}; +link471[] = {395,92}; +link472[] = {395,428}; +link473[] = {396,111}; +link474[] = {396,397}; +link475[] = {396,399}; +link476[] = {397,97}; +link477[] = {397,398}; +link478[] = {398,96}; +link479[] = {399,112}; +link480[] = {399,400}; +link481[] = {400,113}; +link482[] = {401,60}; +link483[] = {401,404}; +link484[] = {402,59}; +link485[] = {402,403}; +link486[] = {403,62}; +link487[] = {404,67}; +link488[] = {404,416}; +link489[] = {405,407}; +link490[] = {406,417}; +link491[] = {407,68}; +link492[] = {408,239}; +link493[] = {408,409}; +link494[] = {409,240}; +link495[] = {409,410}; +link496[] = {410,241}; +link497[] = {411,412}; +link498[] = {412,413}; +link499[] = {413,414}; +link500[] = {414,415}; +link501[] = {415,247}; +link502[] = {416,63}; +link503[] = {417,418}; +link504[] = {418,69}; +link505[] = {419,13}; +link506[] = {419,13}; +link507[] = {420,421}; +link508[] = {420,423}; +link509[] = {421,2}; +link510[] = {421,422}; +link511[] = {422,5}; +link512[] = {423,1}; +link513[] = {423,424}; +link514[] = {424,3}; +link515[] = {425,427}; +link516[] = {426,427}; +link517[] = {427,393}; +link518[] = {428,42}; +link519[] = {429,98}; +link520[] = {429,430}; +link521[] = {430,99}; +link522[] = {431,432}; +link523[] = {432,433}; +link524[] = {433,105}; +link525[] = {434,433}; +link526[] = {435,434}; +link527[] = {436,437}; +link528[] = {437,0}; +link529[] = {438,297}; +link530[] = {438,298}; +link531[] = {438,299}; +link532[] = {438,565}; +link533[] = {439,292}; +link534[] = {439,296}; +link535[] = {440,14}; +link536[] = {441,442}; +link537[] = {442,443}; +link538[] = {443,49}; +link539[] = {444,443}; +link540[] = {445,444}; +link541[] = {446,27}; +link542[] = {446,447}; +link543[] = {447,31}; +link544[] = {447,32}; +link545[] = {448,277}; +link546[] = {448,449}; +link547[] = {448,451}; +link548[] = {449,275}; +link549[] = {449,450}; +link550[] = {450,274}; +link551[] = {451,278}; +link552[] = {451,452}; +link553[] = {452,279}; +link554[] = {453,38}; +link555[] = {453,454}; +link556[] = {454,37}; +link557[] = {454,455}; +link558[] = {455,36}; +link559[] = {455,456}; +link560[] = {456,35}; +link561[] = {456,457}; +link562[] = {457,34}; +link563[] = {458,459}; +link564[] = {459,460}; +link565[] = {460,461}; +link566[] = {461,462}; +link567[] = {462,56}; +link568[] = {463,436}; +link569[] = {464,8}; +link570[] = {464,465}; +link571[] = {465,7}; +link572[] = {465,466}; +link573[] = {466,11}; +link574[] = {467,203}; +link575[] = {468,197}; +link576[] = {469,474}; +link577[] = {470,475}; +link578[] = {471,476}; +link579[] = {472,477}; +link580[] = {473,478}; +link581[] = {474,483}; +link582[] = {475,487}; +link583[] = {476,486}; +link584[] = {477,485}; +link585[] = {478,484}; +link586[] = {479,470}; +link587[] = {479,480}; +link588[] = {480,471}; +link589[] = {480,481}; +link590[] = {481,472}; +link591[] = {481,482}; +link592[] = {482,473}; +link593[] = {483,269}; +link594[] = {484,485}; +link595[] = {485,486}; +link596[] = {486,487}; +link597[] = {487,483}; +link598[] = {488,469}; +link599[] = {488,479}; +link600[] = {489,490}; +link601[] = {490,248}; +link602[] = {491,492}; +link603[] = {492,0}; +link604[] = {493,494}; +link605[] = {495,496}; +link606[] = {495,497}; +link607[] = {496,498}; +link608[] = {497,499}; +link609[] = {498,500}; +link610[] = {499,501}; +link611[] = {500,502}; +link612[] = {500,506}; +link613[] = {501,503}; +link614[] = {501,506}; +link615[] = {502,504}; +link616[] = {503,505}; +link617[] = {504,506}; +link618[] = {505,506}; +link619[] = {506,507}; +link620[] = {507,508}; +link621[] = {507,509}; +link622[] = {508,511}; +link623[] = {509,510}; +link624[] = {510,512}; +link625[] = {511,513}; +link626[] = {512,525}; +link627[] = {513,526}; +link628[] = {514,515}; +link629[] = {515,516}; +link630[] = {516,517}; +link631[] = {517,518}; +link632[] = {518,519}; +link633[] = {519,520}; +link634[] = {520,521}; +link635[] = {520,523}; +link636[] = {521,522}; +link637[] = {522,57}; +link638[] = {523,524}; +link639[] = {524,570}; +link640[] = {525,527}; +link641[] = {526,527}; +link642[] = {527,528}; +link643[] = {528,529}; +link644[] = {529,569}; +link645[] = {530,20}; +link646[] = {531,514}; +link647[] = {532,534}; +link648[] = {533,16}; +link649[] = {533,17}; +link650[] = {533,46}; +link651[] = {533,495}; +link652[] = {534,530}; +link653[] = {534,531}; +link654[] = {535,562}; +link655[] = {536,537}; +link656[] = {536,538}; +link657[] = {537,539}; +link658[] = {538,540}; +link659[] = {539,541}; +link660[] = {540,542}; +link661[] = {541,543}; +link662[] = {541,547}; +link663[] = {542,544}; +link664[] = {542,547}; +link665[] = {543,545}; +link666[] = {544,546}; +link667[] = {545,547}; +link668[] = {546,547}; +link669[] = {547,548}; +link670[] = {548,549}; +link671[] = {548,550}; +link672[] = {549,552}; +link673[] = {550,551}; +link674[] = {551,553}; +link675[] = {552,554}; +link676[] = {553,555}; +link677[] = {554,556}; +link678[] = {555,557}; +link679[] = {556,557}; +link680[] = {557,558}; +link681[] = {558,559}; +link682[] = {559,564}; +link683[] = {560,295}; +link684[] = {561,291}; +link685[] = {562,563}; +link686[] = {563,560}; +link687[] = {563,561}; +link688[] = {564,292}; +link689[] = {564,293}; +link690[] = {564,535}; +link691[] = {564,536}; +link692[] = {565,566}; +link693[] = {567,568}; +link694[] = {568,209}; +link695[] = {569,533}; +link696[] = {570,45}; +link697[] = {571,45}; +link698[] = {572,57}; +globals[] = {0.000000,0,0,0,0,640,480,1,930,6316128,1,-1554.699463,687.961670,696.532349,-918.899048,1255,904,1}; +window[] = {2,-1,-1,-1,-1,885,125,1565,125,3,1273}; +*//*%FSM*/ +class FSM +{ + fsmName = "DAGR_MENU"; + class States + { + /*%FSM*/ + class Start_Main_Menu + { + name = "Start_Main_Menu"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText ""DATA VIEW"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText ""GOTO WP"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText ""WP LIST"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText ""CONNECT TO"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText ""OPTIONS"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "" \n + "DAGR_F3 = false;" \n + "DAGR_F2 = false;" \n + "DAGR_F1 = false;" \n + "DAGR_MENU_B = false;" \n + "DAGR_SEL = false;" \n + "DAGR_NEXT = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;" \n + "DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "DAGR_PWR = false;" \n + "_selection = 0;" \n + "" \n + "" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Select + { + priority = 0.000000; + to="Remove__Main_Men"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Change_Selection_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Main_Menu + { + name = "Main_Menu"; + init = /*%FSM*/"DAGR_UP = false;" \n + "DAGR_Down = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Select + { + priority = 0.000000; + to="Remove__Main_Men"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Change_Selection_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Remove__Main_Men + { + name = "Remove__Main_Men"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "" \n + "" \n + "DAGR_F3 = false;" \n + "DAGR_F2 = false;" \n + "DAGR_F1 = false;" \n + "DAGR_MENU_B = false;" \n + "DAGR_SEL = false;" \n + "DAGR_NEXT = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;" \n + "DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "DAGR_PWR = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class WP_LIST + { + priority = 0.000000; + to="WP_List_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Options_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class DATA + { + priority = 0.000000; + to="DATA_View"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Connect + { + priority = 0.000000; + to="Connect_TO"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_VIEW + { + priority = 0.000000; + to="WP_List_Check"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class DATA_View + { + name = "DATA_View"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""DATA"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Acquiring Data."";" \n + "_wait = time + 0.5;" \n + "DAGR_EMPTYVECTOR = true;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__58"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Options_Menu + { + name = "Options_Menu"; + init = /*%FSM*/"_selection = 0;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText ""Signal Delay"";" \n + "if (DAGR_DIRECTION) then" \n + "{" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText ""Direction: Deg"";" \n + "}" \n + "else" \n + "{" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText ""Direction: MIL"";" \n + "};" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Select + { + priority = 0.000000; + to="__96"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_8"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class DOWN + { + priority = 0.000000; + to="Change_Selection_9"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Connect_TO + { + name = "Connect_TO"; + init = /*%FSM*/"_selection = 0;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText ""Vector 21"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText ""SOFLAM"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Select + { + priority = 0.000000; + to="__91"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_6"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class DOWN + { + priority = 0.000000; + to="Change_Selection_7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Vector + { + name = "Vector"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Connecting."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__55"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP_List_Check + { + name = "WP_List_Check"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 1.000000; + to="No_WPs"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WPs_Found + { + priority = 0.000000; + to="GOTO_WP_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP_List_Menu + { + name = "WP_List_Menu"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText DAGR_WP0_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText DAGR_WP1_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText DAGR_WP2_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText DAGR_WP3_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText DAGR_WP4_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText ""Add"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText ""Edit"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText ""Delete"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText """";" \n + "" \n + "DAGR_F3 = false;" \n + "DAGR_F2 = false;" \n + "DAGR_F1 = false;" \n + "DAGR_MENU_B = false;" \n + "DAGR_SEL = false;" \n + "DAGR_NEXT = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;" \n + "DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "DAGR_PWR = false;" \n + "_selection = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class NO_WPs + { + priority = 1.000000; + to="Limited_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Set_selection"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class No_WPs + { + name = "No_WPs"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""No Waypoints Found"";" \n + "_wait = time + 2.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Return_to__Main + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class GOTO_WP_Menu + { + name = "GOTO_WP_Menu"; + init = /*%FSM*/"_selection = 0;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText DAGR_WP0_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText DAGR_WP1_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText DAGR_WP2_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText DAGR_WP3_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText DAGR_WP4_String;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Select + { + priority = 0.000000; + to="Remove_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Change_Selection_4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP_Menu + { + name = "WP_Menu"; + init = /*%FSM*/"DAGR_UP = false;" \n + "DAGR_Down = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Select + { + priority = 0.000000; + to="Remove_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Change_Selection_4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Remove_Menu + { + name = "Remove_Menu"; + init = /*%FSM*/"DAGR_SEL = false;" \n + "DAGR_EMPTYVECTOR = true;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class WP4 + { + priority = 0.000000; + to="WP4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP3 + { + priority = 0.000000; + to="WP3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP2 + { + priority = 0.000000; + to="WP2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP1 + { + priority = 0.000000; + to="WP1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP0 + { + priority = 0.000000; + to="WP0"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Power + { + priority = 0.000000; + to="Exit_6"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + name = "Exit"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit_1 + { + name = "Exit_1"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection + { + name = "Change_Selection"; + init = /*%FSM*/"_selection = _selection - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Min + { + priority = 1.000000; + to="__83"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == -1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_1 + { + name = "Change_Selection_1"; + init = /*%FSM*/"_selection = _selection + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max + { + priority = 1.000000; + to="__82"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Error_Message + { + name = "Error_Message"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""No Device Found"";" \n + "_wait = time + 2.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="Connect_TO"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit_2 + { + name = "Exit_2"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class Return_to_Main_M + { + name = "Return_to_Main_M"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""VECTOR"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Vector Connected"";" \n + "_wait = time + 2.5;" \n + "DAGR_EMPTYVECTOR = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Return_to__Main + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP0 + { + name = "WP0"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""WP"";" \n + "DAGR_WP_INFO = DAGR_WP0;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Update."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__70"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP1 + { + name = "WP1"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""WP"";" \n + "DAGR_WP_INFO = DAGR_WP1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Update."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__70"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP2 + { + name = "WP2"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""WP"";" \n + "DAGR_WP_INFO = DAGR_WP2;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Update."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__70"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP3 + { + name = "WP3"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""WP"";" \n + "DAGR_WP_INFO = DAGR_WP3;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Update."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__70"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP4 + { + name = "WP4"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""WP"";" \n + "DAGR_WP_INFO = DAGR_WP4;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Update."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__70"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_2 + { + name = "Change_Selection_2"; + init = /*%FSM*/"_selection = _selection - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Min + { + priority = 1.000000; + to="__44"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == -1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__6"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__8"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__9"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_3 + { + name = "Change_Selection_3"; + init = /*%FSM*/"_selection = _selection + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max + { + priority = 1.000000; + to="__45"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == DAGR_WP_NUM"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__6"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__8"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__9"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP_List_Menu_1 + { + name = "WP_List_Menu_1"; + init = /*%FSM*/"DAGR_UP = false;" \n + "DAGR_Down = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class F2 + { + priority = 0.000000; + to="Edit"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class F1 + { + priority = 0.000000; + to="Add"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Change_Selection_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class F3 + { + priority = 0.000000; + to="Delete"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Add + { + name = "Add"; + init = /*%FSM*/"DAGR_F3 = false;" \n + "DAGR_F2 = false;" \n + "DAGR_F1 = false;" \n + "DAGR_MENU_B = false;" \n + "DAGR_SEL = false;" \n + "DAGR_NEXT = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;" \n + "DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class WP_MAX + { + priority = 1.000000; + to="Error_Message_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu_Start"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Edit + { + name = "Edit"; + init = /*%FSM*/"DAGR_F3 = false;" \n + "DAGR_F2 = false;" \n + "DAGR_F1 = false;" \n + "DAGR_MENU_B = false;" \n + "DAGR_SEL = false;" \n + "DAGR_NEXT = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;" \n + "DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "_pointer = 1;" \n + "_edit = true;" \n + "_add = false; //without this editing waypoint throws a script error" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="WP1_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="WP2_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="WP3_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="WP4_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="WP0_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Delete + { + name = "Delete"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="Delete_WP1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="Delete_WP2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="Delete_WP3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="Delete_WP4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="Delete_WP0"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Error_Message_1 + { + name = "Error_Message_1"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Out of Space"";" \n + "_wait = time + 2.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP0_1 + { + name = "WP0_1"; + init = /*%FSM*/"DAGR_WP0_String = _output;" \n + "DAGR_WP0 = parseNumber _output;" \n + "DAGR_WP_NUM = DAGR_WP_NUM + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP1_1 + { + name = "WP1_1"; + init = /*%FSM*/"DAGR_WP1_String = _output;" \n + "DAGR_WP1 = parseNumber _output;" \n + "DAGR_WP_NUM = DAGR_WP_NUM + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP2_1 + { + name = "WP2_1"; + init = /*%FSM*/"DAGR_WP2_String = _output;" \n + "DAGR_WP2 = parseNumber _output;" \n + "DAGR_WP_NUM = DAGR_WP_NUM + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP3_1 + { + name = "WP3_1"; + init = /*%FSM*/"DAGR_WP3_String = _output;" \n + "DAGR_WP3 = parseNumber _output;" \n + "DAGR_WP_NUM = DAGR_WP_NUM + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP4_1 + { + name = "WP4_1"; + init = /*%FSM*/"DAGR_WP4_String = _output;" \n + "DAGR_WP4 = parseNumber _output;" \n + "DAGR_WP_NUM = DAGR_WP_NUM + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Add_Menu_Start + { + name = "Add_Menu_Start"; + init = /*%FSM*/"_digit1 = 0;" \n + "_digit2 = 0;" \n + "_digit3 = 0;" \n + "_digit4 = 0;" \n + "_digit5 = 0;" \n + "_digit6 = 0;" \n + "_digit7 = 0;" \n + "_digit8 = 0;" \n + "_pointer = 1;" \n + "_add = true;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Setup_Marker"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + name = "_"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __1 + { + name = "__1"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __2 + { + name = "__2"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """"; "/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __3 + { + name = "__3"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """"; "/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __4 + { + name = "__4"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Limited_Menu + { + name = "Limited_Menu"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class F1 + { + priority = 0.000000; + to="Add"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __5 + { + name = "__5"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """"; " \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __6 + { + name = "__6"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __7 + { + name = "__7"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """"; " \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __8 + { + name = "__8"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """"; " \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __9 + { + name = "__9"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit_3 + { + name = "Exit_3"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class Move_Pointer + { + name = "Move_Pointer"; + init = /*%FSM*/"_pointer = _pointer - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Check + { + priority = 1.000000; + to="__10"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer < 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT2 + { + priority = 0.000000; + to="__74"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT3 + { + priority = 0.000000; + to="__75"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT1 + { + priority = 0.000000; + to="__73"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT4 + { + priority = 0.000000; + to="__76"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT5 + { + priority = 0.000000; + to="__77"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT6 + { + priority = 0.000000; + to="__78"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 6"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT7 + { + priority = 0.000000; + to="__79"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 7"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT8 + { + priority = 0.000000; + to="__80"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 8"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __10 + { + name = "__10"; + init = /*%FSM*/"_pointer = 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class PT2 + { + priority = 0.000000; + to="__74"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT3 + { + priority = 0.000000; + to="__75"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT4 + { + priority = 0.000000; + to="__76"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT5 + { + priority = 0.000000; + to="__77"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT6 + { + priority = 0.000000; + to="__78"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 6"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT7 + { + priority = 0.000000; + to="__79"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 7"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT8 + { + priority = 0.000000; + to="__80"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 8"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT1 + { + priority = 0.000000; + to="__73"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Move_Pointer_1 + { + name = "Move_Pointer_1"; + init = /*%FSM*/"_pointer = _pointer + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Check + { + priority = 1.000000; + to="__11"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer > 8"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT2 + { + priority = 0.000000; + to="__74"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT3 + { + priority = 0.000000; + to="__75"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT1 + { + priority = 0.000000; + to="__73"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT4 + { + priority = 0.000000; + to="__76"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT5 + { + priority = 0.000000; + to="__77"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT6 + { + priority = 0.000000; + to="__78"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 6"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT7 + { + priority = 0.000000; + to="__79"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 7"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT8 + { + priority = 0.000000; + to="__80"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 8"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __11 + { + name = "__11"; + init = /*%FSM*/"_pointer = 8;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class PT2 + { + priority = 0.000000; + to="__74"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT3 + { + priority = 0.000000; + to="__75"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT4 + { + priority = 0.000000; + to="__76"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT5 + { + priority = 0.000000; + to="__77"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT6 + { + priority = 0.000000; + to="__78"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 6"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT7 + { + priority = 0.000000; + to="__79"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 7"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT8 + { + priority = 0.000000; + to="__80"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 8"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT1 + { + priority = 0.000000; + to="__73"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Add_Menu + { + name = "Add_Menu"; + init = /*%FSM*/"DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;" \n + "" \n + "_output = str _digit1 + str _digit2 + str _digit3 + str _digit4 + str _digit5 + str _digit6 + str _digit7 + str _digit8;" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText _output;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Right + { + priority = 0.000000; + to="Move_Pointer_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_RIGHT"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Left + { + priority = 0.000000; + to="Move_Pointer"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_LEFT"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Find_Pointer"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Find_Pointer_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="__81"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Power + { + priority = 0.000000; + to="Exit_4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Add_from_Vector + { + priority = 0.000000; + to="setting_up_the_g"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Save + { + priority = 0.000000; + to="__46"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Find_Pointer + { + name = "Find_Pointer"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class PT7 + { + priority = 0.000000; + to="__24"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 7"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT6 + { + priority = 0.000000; + to="__22"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 6"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT5 + { + priority = 0.000000; + to="__20"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT4 + { + priority = 0.000000; + to="__18"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT3 + { + priority = 0.000000; + to="__16"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT2 + { + priority = 0.000000; + to="__14"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT1 + { + priority = 0.000000; + to="__12"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT8 + { + priority = 0.000000; + to="__26"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 8"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __12 + { + name = "__12"; + init = /*%FSM*/"_digit1 = _digit1 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__13"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit1 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __13 + { + name = "__13"; + init = /*%FSM*/"_digit1 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __14 + { + name = "__14"; + init = /*%FSM*/"_digit2 = _digit2 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__15"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit2 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __15 + { + name = "__15"; + init = /*%FSM*/"_digit2 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __16 + { + name = "__16"; + init = /*%FSM*/"_digit3 = _digit3 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__17"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit3 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __17 + { + name = "__17"; + init = /*%FSM*/"_digit3 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __18 + { + name = "__18"; + init = /*%FSM*/"_digit4 = _digit4 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__19"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit4 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __19 + { + name = "__19"; + init = /*%FSM*/"_digit4 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __20 + { + name = "__20"; + init = /*%FSM*/"_digit5 = _digit5 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__21"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit5 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __21 + { + name = "__21"; + init = /*%FSM*/"_digit5 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __22 + { + name = "__22"; + init = /*%FSM*/"_digit6 = _digit6 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__23"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit6 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __23 + { + name = "__23"; + init = /*%FSM*/"_digit6 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __24 + { + name = "__24"; + init = /*%FSM*/"_digit7 = _digit7 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__25"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit7 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __25 + { + name = "__25"; + init = /*%FSM*/"_digit7 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __26 + { + name = "__26"; + init = /*%FSM*/"_digit8 = _digit8 + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__27"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit8 > 9"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __27 + { + name = "__27"; + init = /*%FSM*/"_digit8 = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Find_Pointer_1 + { + name = "Find_Pointer_1"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class PT2 + { + priority = 0.000000; + to="__30"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT3 + { + priority = 0.000000; + to="__32"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT4 + { + priority = 0.000000; + to="__34"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT5 + { + priority = 0.000000; + to="__36"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 5"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT6 + { + priority = 0.000000; + to="__38"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 6"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT7 + { + priority = 0.000000; + to="__40"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 7"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT8 + { + priority = 0.000000; + to="__42"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 8"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class PT1 + { + priority = 0.000000; + to="__28"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_pointer == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __28 + { + name = "__28"; + init = /*%FSM*/"_digit1 = _digit1 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__29"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit1 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __29 + { + name = "__29"; + init = /*%FSM*/"_digit1 = 9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __30 + { + name = "__30"; + init = /*%FSM*/"_digit2 = _digit2 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__31"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit2 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __31 + { + name = "__31"; + init = /*%FSM*/"_digit2 = 9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Setup_Marker + { + name = "Setup_Marker"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText ""Save"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText ""Vector"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText ""Cancel"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __32 + { + name = "__32"; + init = /*%FSM*/"_digit3 = _digit3 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__33"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit3 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __33 + { + name = "__33"; + init = /*%FSM*/"_digit3 = 9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __34 + { + name = "__34"; + init = /*%FSM*/"_digit4 = _digit4 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__35"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit4 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __35 + { + name = "__35"; + init = /*%FSM*/"_digit4 =9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __36 + { + name = "__36"; + init = /*%FSM*/"_digit5 = _digit5 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__37"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit5 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __37 + { + name = "__37"; + init = /*%FSM*/"_digit5 = 9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __38 + { + name = "__38"; + init = /*%FSM*/"_digit6 = _digit6 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__39"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit6 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __39 + { + name = "__39"; + init = /*%FSM*/"_digit6 = 9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __40 + { + name = "__40"; + init = /*%FSM*/"_digit7 = _digit7 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__41"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit7 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __41 + { + name = "__41"; + init = /*%FSM*/"_digit7 = 9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __42 + { + name = "__42"; + init = /*%FSM*/"_digit8 = _digit8 - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max_Value + { + priority = 1.000000; + to="__43"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_digit8 < 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __43 + { + name = "__43"; + init = /*%FSM*/"_digit8 = 9;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit_4 + { + name = "Exit_4"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class Delete_WP0 + { + name = "Delete_WP0"; + init = /*%FSM*/"DAGR_WP0_String = DAGR_WP1_String;" \n + "DAGR_WP0 = DAGR_WP1;" \n + "DAGR_WP1_String = DAGR_WP2_String;" \n + "DAGR_WP1 = DAGR_WP2;" \n + "DAGR_WP2_String = DAGR_WP3_String;" \n + "DAGR_WP2 = DAGR_WP3;" \n + "DAGR_WP3_String = DAGR_WP4_String;" \n + "DAGR_WP3 = DAGR_WP4;" \n + "DAGR_WP4_String = """";" \n + "DAGR_WP4 = """";" \n + "DAGR_WP_NUM = DAGR_WP_NUM - 1;" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Deleting."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__68"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Delete_WP1 + { + name = "Delete_WP1"; + init = /*%FSM*/"DAGR_WP1_String = DAGR_WP2_String;" \n + "DAGR_WP1 = DAGR_WP2;" \n + "DAGR_WP2_String = DAGR_WP3_String;" \n + "DAGR_WP2 = DAGR_WP3;" \n + "DAGR_WP3_String = DAGR_WP4_String;" \n + "DAGR_WP3 =DAGR_WP4;" \n + "DAGR_WP4_String = """";" \n + "DAGR_WP4 = """";" \n + "DAGR_WP_NUM = DAGR_WP_NUM - 1;" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Deleting."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__68"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Delete_WP2 + { + name = "Delete_WP2"; + init = /*%FSM*/"DAGR_WP2_String = DAGR_WP3_String;" \n + "DAGR_WP2 = DAGR_WP3;" \n + "DAGR_WP3_String = DAGR_WP4_String;" \n + "DAGR_WP3 = DAGR_WP4;" \n + "DAGR_WP4_String = """";" \n + "DAGR_WP4 = """";" \n + "DAGR_WP_NUM = DAGR_WP_NUM - 1;" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Deleting."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__68"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Delete_WP3 + { + name = "Delete_WP3"; + init = /*%FSM*/"DAGR_WP3_String = DAGR_WP4_String;" \n + "DAGR_WP3 = DAGR_WP4;" \n + "DAGR_WP4_String = """";" \n + "DAGR_WP4 = """";" \n + "DAGR_WP_NUM = DAGR_WP_NUM - 1;" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Deleting."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__68"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Delete_WP4 + { + name = "Delete_WP4"; + init = /*%FSM*/"DAGR_WP4_String = """";" \n + "DAGR_WP4 = """";" \n + "DAGR_WP_NUM = DAGR_WP_NUM - 1;" \n + "" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Deleting."";" \n + "_wait = time + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__68"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __44 + { + name = "__44"; + init = /*%FSM*/"_selection = DAGR_WP_NUM - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__6"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__8"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__9"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __45 + { + name = "__45"; + init = /*%FSM*/"_selection = 0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__6"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__8"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__9"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __46 + { + name = "__46"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class WP_NUM_0 + { + priority = 0.000000; + to="WP0_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0 && {_edit}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_1 + { + priority = 0.000000; + to="WP1_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 1 && {_add}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_2 + { + priority = 0.000000; + to="WP2_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 2 && {_add}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_3 + { + priority = 0.000000; + to="WP3_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 3 && {_add}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_4 + { + priority = 0.000000; + to="WP4_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 4 && {_add}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_0_1 + { + priority = 0.000000; + to="WP0_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_WP_NUM == 0 && {_add}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_1_1 + { + priority = 0.000000; + to="WP1_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1 && {_edit}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_2_1 + { + priority = 0.000000; + to="WP2_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2 && {_edit}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_3_1 + { + priority = 0.000000; + to="WP3_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3 && {_edit}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class WP_NUM_4_1 + { + priority = 0.000000; + to="WP4_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4 && {_edit}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP0_2 + { + name = "WP0_2"; + init = /*%FSM*/"_digit1 = floor ( DAGR_WP0 / 10000000);" \n + "_digit2 = floor ( DAGR_WP0 / 1000000 - _digit1 *10);" \n + "_digit3 = floor ( DAGR_WP0 / 100000 - _digit2 * 10 - _digit1 * 100);" \n + "_digit4 = floor ( DAGR_WP0 / 10000 - _digit3 * 10 - _digit2 * 100 - _digit1 * 1000);" \n + "_digit5 = floor ( DAGR_WP0 / 1000 - _digit4 * 10 - _digit3 * 100 - _digit2 * 1000 - _digit1 * 10000);" \n + "_digit6 = floor ( DAGR_WP0 / 100 - _digit5 * 10 - _digit4 * 100 - _digit3 * 1000 - _digit2 * 10000 - _digit1 * 100000);" \n + "_digit7 = floor ( DAGR_WP0 / 10- _digit6 * 10 - _digit5 * 100 - _digit4 * 1000 - _digit3 * 10000 - _digit2 * 100000 - _digit1 * 1000000);" \n + "_digit8 = floor ( DAGR_WP0 - _digit7 * 10 - _digit6 * 100 - _digit5 * 1000 - _digit4 * 10000 - _digit3 * 100000 - _digit2 * 1000000 - _digit1 * 10000000);"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Setup_Marker"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP1_2 + { + name = "WP1_2"; + init = /*%FSM*/"_digit1 = floor ( DAGR_WP1 / 10000000);" \n + "_digit2 = floor ( DAGR_WP1 / 1000000 - _digit1 *10);" \n + "_digit3 = floor ( DAGR_WP1 / 100000 - _digit2 * 10 - _digit1 * 100);" \n + "_digit4 = floor ( DAGR_WP1 / 10000 - _digit3 * 10 - _digit2 * 100 - _digit1 * 1000);" \n + "_digit5 = floor ( DAGR_WP1 / 1000 - _digit4 * 10 - _digit3 * 100 - _digit2 * 1000 - _digit1 * 10000);" \n + "_digit6 = floor ( DAGR_WP1 / 100 - _digit5 * 10 - _digit4 * 100 - _digit3 * 1000 - _digit2 * 10000 - _digit1 * 100000);" \n + "_digit7 = floor ( DAGR_WP1 / 10- _digit6 * 10 - _digit5 * 100 - _digit4 * 1000 - _digit3 * 10000 - _digit2 * 100000 - _digit1 * 1000000);" \n + "_digit8 = floor ( DAGR_WP1 - _digit7 * 10 - _digit6 * 100 - _digit5 * 1000 - _digit4 * 10000 - _digit3 * 100000 - _digit2 * 1000000 - _digit1 * 10000000);"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Setup_Marker"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP2_2 + { + name = "WP2_2"; + init = /*%FSM*/"_digit1 = floor ( DAGR_WP2 / 10000000);" \n + "_digit2 = floor ( DAGR_WP2 / 1000000 - _digit1 *10);" \n + "_digit3 = floor ( DAGR_WP2 / 100000 - _digit2 * 10 - _digit1 * 100);" \n + "_digit4 = floor ( DAGR_WP2 / 10000 - _digit3 * 10 - _digit2 * 100 - _digit1 * 1000);" \n + "_digit5 = floor ( DAGR_WP2 / 1000 - _digit4 * 10 - _digit3 * 100 - _digit2 * 1000 - _digit1 * 10000);" \n + "_digit6 = floor ( DAGR_WP2 / 100 - _digit5 * 10 - _digit4 * 100 - _digit3 * 1000 - _digit2 * 10000 - _digit1 * 100000);" \n + "_digit7 = floor ( DAGR_WP2 / 10- _digit6 * 10 - _digit5 * 100 - _digit4 * 1000 - _digit3 * 10000 - _digit2 * 100000 - _digit1 * 1000000);" \n + "_digit8 = floor ( DAGR_WP2 - _digit7 * 10 - _digit6 * 100 - _digit5 * 1000 - _digit4 * 10000 - _digit3 * 100000 - _digit2 * 1000000 - _digit1 * 10000000);"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Setup_Marker"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP3_2 + { + name = "WP3_2"; + init = /*%FSM*/"_digit1 = floor ( DAGR_WP3 / 10000000);" \n + "_digit2 = floor ( DAGR_WP3 / 1000000 - _digit1 *10);" \n + "_digit3 = floor ( DAGR_WP3 / 100000 - _digit2 * 10 - _digit1 * 100);" \n + "_digit4 = floor ( DAGR_WP3 / 10000 - _digit3 * 10 - _digit2 * 100 - _digit1 * 1000);" \n + "_digit5 = floor ( DAGR_WP3 / 1000 - _digit4 * 10 - _digit3 * 100 - _digit2 * 1000 - _digit1 * 10000);" \n + "_digit6 = floor ( DAGR_WP3 / 100 - _digit5 * 10 - _digit4 * 100 - _digit3 * 1000 - _digit2 * 10000 - _digit1 * 100000);" \n + "_digit7 = floor ( DAGR_WP3 / 10- _digit6 * 10 - _digit5 * 100 - _digit4 * 1000 - _digit3 * 10000 - _digit2 * 100000 - _digit1 * 1000000);" \n + "_digit8 = floor ( DAGR_WP3 - _digit7 * 10 - _digit6 * 100 - _digit5 * 1000 - _digit4 * 10000 - _digit3 * 100000 - _digit2 * 1000000 - _digit1 * 10000000);"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Setup_Marker"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP4_2 + { + name = "WP4_2"; + init = /*%FSM*/"_digit1 = floor ( DAGR_WP4 / 10000000);" \n + "_digit2 = floor ( DAGR_WP4 / 1000000 - _digit1 *10);" \n + "_digit3 = floor ( DAGR_WP4 / 100000 - _digit2 * 10 - _digit1 * 100);" \n + "_digit4 = floor ( DAGR_WP4 / 10000 - _digit3 * 10 - _digit2 * 100 - _digit1 * 1000);" \n + "_digit5 = floor ( DAGR_WP4 / 1000 - _digit4 * 10 - _digit3 * 100 - _digit2 * 1000 - _digit1 * 10000);" \n + "_digit6 = floor ( DAGR_WP4 / 100 - _digit5 * 10 - _digit4 * 100 - _digit3 * 1000 - _digit2 * 10000 - _digit1 * 100000);" \n + "_digit7 = floor ( DAGR_WP4 / 10- _digit6 * 10 - _digit5 * 100 - _digit4 * 1000 - _digit3 * 10000 - _digit2 * 100000 - _digit1 * 1000000);" \n + "_digit8 = floor ( DAGR_WP4 - _digit7 * 10 - _digit6 * 100 - _digit5 * 1000 - _digit4 * 10000 - _digit3 * 100000 - _digit2 * 1000000 - _digit1 * 10000000);"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Setup_Marker"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_4 + { + name = "Change_Selection_4"; + init = /*%FSM*/"_selection = _selection + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max + { + priority = 1.000000; + to="__52"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == DAGR_WP_NUM"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__48"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__47"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__50"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__51"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__49"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_5 + { + name = "Change_Selection_5"; + init = /*%FSM*/"_selection = _selection - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Min + { + priority = 1.000000; + to="__53"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == -1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__48"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__47"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__50"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__51"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__49"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __47 + { + name = "__47"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """"; " \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __48 + { + name = "__48"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """"; " \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __49 + { + name = "__49"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """"; " \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __50 + { + name = "__50"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """"; " \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __51 + { + name = "__51"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection4) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __52 + { + name = "__52"; + init = /*%FSM*/"_selection = 0;" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__48"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__47"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__50"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__51"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__49"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __53 + { + name = "__53"; + init = /*%FSM*/"_selection = DAGR_WP_NUM - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__48"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__47"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__50"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__51"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__49"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Direction__ + { + name = "Direction__"; + init = /*%FSM*/"if (DAGR_DIRECTION) then " \n + "{" \n + " DAGR_DIRECTION = false;" \n + " ((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText ""Direction: MIL"";" \n + "} " \n + "else " \n + "{" \n + " DAGR_DIRECTION = true;" \n + " ((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText ""Direction: Deg"";" \n + "};"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Select + { + priority = 0.000000; + to="__96"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_8"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class DOWN + { + priority = 0.000000; + to="Change_Selection_9"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit_5 + { + name = "Exit_5"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class Update_Speed + { + name = "Update_Speed"; + init = /*%FSM*/"DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;" \n + "DAGR_SEL = false;" \n + "_newSleep = DAGRSLEEP;" \n + "_text = str (_newSleep*1000) + ""ms"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText _text;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText ""Save"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText ""Cancel"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Save + { + priority = 0.000000; + to="__54"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Options_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Power + { + priority = 0.000000; + to="Exit_7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Increase"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Descrease"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __54 + { + name = "__54"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Updating."";" \n + "DAGRSLEEP = _newSleep;" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__63"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Increase + { + name = "Increase"; + init = /*%FSM*/"_newSleep = _newSleep + 0.1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Max + { + priority = 1.000000; + to="___0"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_newSleep > 2.0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Update_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Descrease + { + name = "Descrease"; + init = /*%FSM*/"_newSleep = _newSleep - 0.1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Min + { + priority = 1.000000; + to="___1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_newSleep < 0.1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Update_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class ___0 + { + name = "___0"; + init = /*%FSM*/"_newSleep = 2.0;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Update_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class ___1 + { + name = "___1"; + init = /*%FSM*/"_newSleep = 0.1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Update_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Update_Menu + { + name = "Update_Menu"; + init = /*%FSM*/"_text = str (_newSleep*1000) + ""ms"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText _text;" \n + "DAGR_UP = false;" \n + "DAGR_Down = false;" \n + "DAGR_RIGHT = false;" \n + "DAGR_LEFT = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Save + { + priority = 0.000000; + to="__54"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Options_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Power + { + priority = 0.000000; + to="Exit_7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Increase"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Descrease"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __55 + { + name = "__55"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Connecting.."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__61"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __56 + { + name = "__56"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving.."";" \n + "_wait = time + 0.2;" \n + "_edit = false;" \n + "_add = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__66"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __57 + { + name = "__57"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Waypoint Deleted"";" \n + "_wait = time + 1.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __58 + { + name = "__58"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Acquiring Data.."";" \n + "_wait = time + 0.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__59"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __59 + { + name = "__59"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Acquiring Data..."";" \n + "_wait = time + 0.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__60"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __60 + { + name = "__60"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Position Acquired"";" \n + "_wait = time + 1.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Return_to__Main + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __61 + { + name = "__61"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Connecting..."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__62"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __62 + { + name = "__62"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Has_Vector + { + priority = 1.000000; + to="Return_to_Main_M"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(player hasWeapon ""ACE_Vector"")"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class No_Vector + { + priority = 0.000000; + to="Error_Message"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __63 + { + name = "__63"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Updating.."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__65"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __64 + { + name = "__64"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Update Success"";" \n + "_wait = time + 1.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Options_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __65 + { + name = "__65"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Updating..."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__64"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __66 + { + name = "__66"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving..."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__67"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __67 + { + name = "__67"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Waypoint Saved"";" \n + "_wait = time + 1.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __68 + { + name = "__68"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Deleting.."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__69"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __69 + { + name = "__69"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Deleting..."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__57"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __70 + { + name = "__70"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Update.."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__71"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __71 + { + name = "__71"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Update..."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__72"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __72 + { + name = "__72"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Info Updated"";" \n + "_wait = time + 1.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="GOTO_WP_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __73 + { + name = "__73"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __74 + { + name = "__74"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __75 + { + name = "__75"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";" \n + ""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __76 + { + name = "__76"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __77 + { + name = "__77"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __78 + { + name = "__78"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __79 + { + name = "__79"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __80 + { + name = "__80"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_PSelection.paa"";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __81 + { + name = "__81"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _PSelection1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection3) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection4) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection5) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection6) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection7) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _PSelection8) ctrlSetText """";" \n + "_wait = time + 0.1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="WP_List_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __82 + { + name = "__82"; + init = /*%FSM*/"_selection = 0"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __83 + { + name = "__83"; + init = /*%FSM*/"_selection = 4;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="_"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_3 + { + priority = 0.000000; + to="__3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_4 + { + priority = 0.000000; + to="__4"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 4"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_2 + { + priority = 0.000000; + to="__2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP0_3 + { + name = "WP0_3"; + init = /*%FSM*/"DAGR_WP0_String = _output;" \n + "DAGR_WP0 = parseNumber _output;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP1_3 + { + name = "WP1_3"; + init = /*%FSM*/"DAGR_WP1_String = _output;" \n + "DAGR_WP1 = parseNumber _output;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP2_3 + { + name = "WP2_3"; + init = /*%FSM*/"DAGR_WP2_String = _output;" \n + "DAGR_WP2 = parseNumber _output;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP3_3 + { + name = "WP3_3"; + init = /*%FSM*/"DAGR_WP3_String = _output;" \n + "DAGR_WP3 = parseNumber _output;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class WP4_3 + { + name = "WP4_3"; + init = /*%FSM*/"DAGR_WP4_String = _output;" \n + "DAGR_WP4 = parseNumber _output;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Saving."";" \n + "_wait = time + 1;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F2) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _F3) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="__56"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Set_selection + { + name = "Set_selection"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class F2 + { + priority = 0.000000; + to="Edit"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class F1 + { + priority = 0.000000; + to="Add"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Down + { + priority = 0.000000; + to="Change_Selection_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class F3 + { + priority = 0.000000; + to="Delete"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_F3"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_3"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Start_Main_Menu_1 + { + name = "Start_Main_Menu_1"; + init = /*%FSM*/"//disableSerialization;" \n + "" \n + "_dialog = createDialog ""DAGR_MENU"";" \n + "" \n + "//Setup Variables" \n + "_dsp = ""DAGR_MENU"";" \n + "_F1 = 266874;" \n + "_F2 = 266875;" \n + "_F3 = 266876;" \n + "_Option0 = 2668777;" \n + "_Option1 = 2668778;" \n + "_Option2 = 2668779;" \n + "_Option3 = 2668780;" \n + "_Option4 = 2668781;" \n + "_Selection0 = 2668783;" \n + "_Selection1 = 2668784;" \n + "_Selection2 = 2668785;" \n + "_Selection3 = 2668786;" \n + "_Selection4 = 2668787;" \n + "_mainText = 2668782;" \n + "_PSelection1 = 2668788;" \n + "_PSelection2 = 2668789;" \n + "_PSelection3 = 2668790;" \n + "_PSelection4 = 2668791;" \n + "_PSelection5 = 2668792;" \n + "_PSelection6 = 2668793;" \n + "_PSelection7 = 2668794;" \n + "_PSelection8 = 2668795;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 1.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit_6 + { + name = "Exit_6"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_6 + { + name = "Change_Selection_6"; + init = /*%FSM*/"_selection = _selection - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__87"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__86"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Min + { + priority = 0.000000; + to="__84"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == -1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_7 + { + name = "Change_Selection_7"; + init = /*%FSM*/"_selection = _selection + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__87"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__86"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Max + { + priority = 0.000000; + to="__85"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __84 + { + name = "__84"; + init = /*%FSM*/"_selection = 1"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__86"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__87"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __85 + { + name = "__85"; + init = /*%FSM*/"_selection = 0"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__86"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__87"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __86 + { + name = "__86"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="ConnectTo__Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __87 + { + name = "__87"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="ConnectTo__Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class SOFLAM + { + name = "SOFLAM"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Connecting."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__88"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __88 + { + name = "__88"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Connecting.."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__89"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __89 + { + name = "__89"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""Connecting..."";" \n + "_wait = time + 0.2;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="__90"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __90 + { + name = "__90"; + init = /*%FSM*/""/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class No_SOFLAM + { + priority = 0.000000; + to="Error_Message_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Has_SOFLAM + { + priority = 0.000000; + to="Return_to_Main_M_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"(player hasWeapon ""ACE_Vector"")"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Return_to_Main_M_1 + { + name = "Return_to_Main_M_1"; + init = /*%FSM*/"DAGR_DISPLAY_SELECTION = ""VECTOR"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""SOFLAM Connected"";" \n + "_wait = time + 2.5;" \n + "DAGR_EMPTYVECTOR = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Return_to__Main + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Error_Message_2 + { + name = "Error_Message_2"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _mainText) ctrlSetText ""No Device Found"";" \n + "_wait = time + 2.5;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Wait + { + priority = 0.000000; + to="Connect_TO"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"time > _wait"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class ConnectTo__Menu + { + name = "ConnectTo__Menu"; + init = /*%FSM*/"DAGR_UP = false;" \n + "DAGR_Down = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Select + { + priority = 0.000000; + to="__91"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_2"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_6"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class DOWN + { + priority = 0.000000; + to="Change_Selection_7"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __91 + { + name = "__91"; + init = /*%FSM*/"DAGR_SEL = false;" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Option1) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class selection_1 + { + priority = 0.000000; + to="SOFLAM"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class selection_0 + { + priority = 0.000000; + to="Vector"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_8 + { + name = "Change_Selection_8"; + init = /*%FSM*/"_selection = _selection - 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__95"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__94"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Min + { + priority = 0.000000; + to="__92"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == -1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Change_Selection_9 + { + name = "Change_Selection_9"; + init = /*%FSM*/"_selection = _selection + 1;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__95"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__94"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Max + { + priority = 0.000000; + to="__93"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 2"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __92 + { + name = "__92"; + init = /*%FSM*/"_selection = 1"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__94"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__95"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __93 + { + name = "__93"; + init = /*%FSM*/"_selection = 0"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Selection_0 + { + priority = 0.000000; + to="__94"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Selection_1 + { + priority = 0.000000; + to="__95"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __94 + { + name = "__94"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Options_Menu_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __95 + { + name = "__95"; + init = /*%FSM*/"((uiNameSpace getVariable _dsp) displayCtrl _Selection1) ctrlSetText ""\z\ace\addons\dagr\UI\DAGR_Selection.paa"";" \n + "((uiNameSpace getVariable _dsp) displayCtrl _Selection0) ctrlSetText """";"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Options_Menu_1"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Options_Menu_1 + { + name = "Options_Menu_1"; + init = /*%FSM*/"DAGR_UP = false;" \n + "DAGR_Down = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class Back + { + priority = 0.000000; + to="Start_Main_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_MENU_B"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Select + { + priority = 0.000000; + to="__96"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_SEL"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class UP + { + priority = 0.000000; + to="Change_Selection_8"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_UP"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class DOWN + { + priority = 0.000000; + to="Change_Selection_9"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_Down"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class Exit + { + priority = 0.000000; + to="Exit_5"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"DAGR_PWR || {!([player, ""ACE_DAGR""] call ace_common_fnc_hasItem)}"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class __96 + { + name = "__96"; + init = /*%FSM*/"DAGR_SEL = false;" \n + "DAGR_EMPTYVECTOR = true;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class selection_1 + { + priority = 0.000000; + to="Direction__"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 1"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + /*%FSM*/ + class selection_0 + { + priority = 0.000000; + to="Update_Speed"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/"_selection == 0"/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + /*%FSM*/ + class Exit_7 + { + name = "Exit_7"; + init = /*%FSM*/"closeDialog 266860;" \n + "DAGR_MENU_RUN = false;"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + }; + }; + /*%FSM*/ + /*%FSM*/ + class setting_up_the_g + { + name = "setting_up_the_g"; + init = /*%FSM*/"DAGR_F2 = false;" \n + "//hint format [""%1"", DAGR_GRID_VECTOR];" \n + "_grid_vector = parsenumber DAGR_GRID_VECTOR;" \n + "//if (_grid_vector < 0 or _grid_vector > 99999999) then {_grid_vector = 0};" \n + "_digit1 = floor ( _grid_vector / 10000000);" \n + "_digit2 = floor ( _grid_vector / 1000000 - _digit1 *10);" \n + "_digit3 = floor ( _grid_vector / 100000 - _digit2 * 10 - _digit1 * 100);" \n + "_digit4 = floor ( _grid_vector / 10000 - _digit3 * 10 - _digit2 * 100 - _digit1 * 1000);" \n + "_digit5 = floor ( _grid_vector / 1000 - _digit4 * 10 - _digit3 * 100 - _digit2 * 1000 - _digit1 * 10000);" \n + "_digit6 = floor ( _grid_vector / 100 - _digit5 * 10 - _digit4 * 100 - _digit3 * 1000 - _digit2 * 10000 - _digit1 * 100000);" \n + "_digit7 = floor ( _grid_vector / 10- _digit6 * 10 - _digit5 * 100 - _digit4 * 1000 - _digit3 * 10000 - _digit2 * 100000 - _digit1 * 1000000);" \n + "_digit8 = floor ( _grid_vector - _digit7 * 10 - _digit6 * 100 - _digit5 * 1000 - _digit4 * 10000 - _digit3 * 100000 - _digit2 * 1000000 - _digit1 * 10000000);"/*%FSM*/; + precondition = /*%FSM*/""/*%FSM*/; + class Links + { + /*%FSM*/ + class _ + { + priority = 0.000000; + to="Add_Menu"; + precondition = /*%FSM*/""/*%FSM*/; + condition=/*%FSM*/""/*%FSM*/; + action=/*%FSM*/""/*%FSM*/; + }; + /*%FSM*/ + }; + }; + /*%FSM*/ + }; + initState="Start_Main_Menu_1"; + finalStates[] = + { + "Exit", + "Exit_1", + "Exit_2", + "Exit_3", + "Exit_4", + "Exit_5", + "Exit_6", + "Exit_7", + }; +}; +/*%FSM*/ \ No newline at end of file diff --git a/addons/dagr/Dialog.hpp b/addons/dagr/Dialog.hpp new file mode 100644 index 0000000000..8d840eff9f --- /dev/null +++ b/addons/dagr/Dialog.hpp @@ -0,0 +1,423 @@ +// Control types +#define CT_STATIC 0 +#define CT_BUTTON 1 +#define CT_EDIT 2 +#define CT_SLIDER 3 +#define CT_COMBO 4 +#define CT_LISTBOX 5 +#define CT_TOOLBOX 6 +#define CT_CHECKBOXES 7 +#define CT_PROGRESS 8 +#define CT_HTML 9 +#define CT_STATIC_SKEW 10 +#define CT_ACTIVETEXT 11 +#define CT_TREE 12 +#define CT_STRUCTURED_TEXT 13 +#define CT_CONTEXT_MENU 14 +#define CT_CONTROLS_GROUP 15 +#define CT_SHORTCUT_BUTTON 16 // Arma 2 - textured button + +#define CT_XKEYDESC 40 +#define CT_XBUTTON 41 +#define CT_XLISTBOX 42 +#define CT_XSLIDER 43 +#define CT_XCOMBO 44 +#define CT_ANIMATED_TEXTURE 45 +#define CT_OBJECT 80 +#define CT_OBJECT_ZOOM 81 +#define CT_OBJECT_CONTAINER 82 +#define CT_OBJECT_CONT_ANIM 83 +#define CT_LINEBREAK 98 +#define CT_USER 99 +#define CT_MAP 100 +#define CT_MAP_MAIN 101 +#define CT_List_N_Box 102 // Arma 2 - N columns list box + + +// Static styles +#define ST_POS 0x0F +#define ST_HPOS 0x03 +#define ST_VPOS 0x0C +#define ST_LEFT 0x00 +#define ST_RIGHT 0x01 +#define ST_CENTER 0x02 +#define ST_DOWN 0x04 +#define ST_UP 0x08 +#define ST_VCENTER 0x0c +#define ST_TYPE 0xF0 +#define ST_SINGLE 0 +#define ST_MULTI 16 +#define ST_TITLE_BAR 32 +#define ST_PICTURE 48 +#define ST_FRAME 64 +#define ST_BACKGROUND 80 +#define ST_GROUP_BOX 96 +#define ST_GROUP_BOX2 112 +#define ST_HUD_BACKGROUND 128 +#define ST_TILE_PICTURE 144 +#define ST_WITH_RECT 160 +#define ST_LINE 176 +#define ST_SHADOW 0x100 +#define ST_NO_RECT 0x200 +#define ST_KEEP_ASPECT_RATIO 0x800 +#define ST_TITLE ST_TITLE_BAR + ST_CENTER + +// Slider styles +#define SL_DIR 0x400 +#define SL_VERT 0 +#define SL_HORZ 0x400 +#define SL_TEXTURES 0x10 + +// Listbox styles +#define LB_TEXTURES 0x10 +#define LB_MULTI 0x20 +#define FontM "PuristaMedium" + +class RscText; + +class DAGR_Button { + idc = -1; + type = CT_BUTTON; + style = ST_LEFT; + font = "PuristaMedium"; + sizeEx = 0.02; + colorText[] = { 0, 1, 0, 1 }; + colorFocused[] = { 0, 0, 0, 0 }; // border color for focused state + colorDisabled[] = { 0, 0, 0, 0 }; // text color for disabled state + colorBackground[] = { 0, 0, 0, 0 }; + colorBackgroundDisabled[] = { 0, 0, 0, 0 }; // background color for disabled state + colorBackgroundActive[] = { 0, 0, 0, 0 }; // background color for active state + offsetX = 0; + offsetY = 0; + offsetPressedX = 0; + offsetPressedY = 0; + colorShadow[] = { 0, 0, 0, 0 }; + colorBorder[] = { 0, 0, 0, 0 }; + borderSize = 0; + soundEnter[] = { "", 0, 1 }; // no sound + soundPush[] = { "", 0, 1 }; + soundClick[] = { "", 0, 1 }; // no sound + soundEscape[] = { "", 0, 1 }; // no sound + x = 0.5; + y = 0.5; + w = 0.07; + h = 0.05; + text = ""; + action = ""; +}; +class DAGR_Menu_Pic { + type = 0; + idc = -1; + style = 48; + x = 0; + y = 0; + w = 0.7; + h = 1.4; + text = ""; + colorBackground[] = {}; + colorText[] = {}; + font = "PuristaMedium"; + sizeEx = 0.04; + waitForLoad = 0; +}; + +class DAGR_Menu_Text { + type = 0; + idc = -1; + style = 0x00; + x = 0.5; + y = 0.5; + w = 0.15; + h = 0.15; + colorBackground[] = { 0, 0, 0, 0 }; + colorText[] = { 0.239, 0.216, 0.153, 1 }; + font = "PuristaMedium"; + sizeEx = 0.03; + waitForLoad = 0; + text = ""; +}; + +class DAGR_Menu { + idd = 266860; + movingEnable = false; + duration = 100000; + fadein = 0; + fadeout = 0; + name = "Dagr_Menu"; + onLoad="uiNamespace setVariable ['DAGR_Menu', _this select 0]"; + controls[] = {"DAGR_MENU_UI", "DAGR_PWR_Button", "DAGR_UP_Button", "DAGR_DOWN_Button", "DAGR_LEFT_Button", "DAGR_RIGHT_Button", "DAGR_NEXT_Button", + "DAGR_SEL_Button", "DAGR_MENU_Button", "DAGR_F1_Button", "DAGR_F2_Button", "DAGR_F3_Button", "DAGR_F1_Text", "DAGR_F2_Text", "DAGR_F3_Text", "DAGR_MENU_OPTION0", + "DAGR_MENU_OPTION1", "DAGR_MENU_OPTION2", "DAGR_MENU_OPTION3", "DAGR_MENU_OPTION4", "DAGR_MENU_SELECTION0", "DAGR_MENU_SELECTION1", "DAGR_MENU_SELECTION2", + "DAGR_MENU_SELECTION3", "DAGR_MENU_SELECTION4", "DAGR_MENU_Main_Text", "DAGR_MENU_PSELECTION1", "DAGR_MENU_PSELECTION2", "DAGR_MENU_PSELECTION3", + "DAGR_MENU_PSELECTION4", "DAGR_MENU_PSELECTION5", "DAGR_MENU_PSELECTION6","DAGR_MENU_PSELECTION7", "DAGR_MENU_PSELECTION8"}; + + class DAGR_MENU_UI : DAGR_Menu_Pic { + idc = 266861; + x = 0.175; + y = -0.173; + text = QUOTE(PATHTOF(UI\dagr_menu.paa)); + sizeEx = 0.1; + }; + + class DAGR_PWR_Button : DAGR_Button { + idc = 266863; + action = "DAGR_PWR = true"; + x = 0.40; + y = 0.65; + }; + + class DAGR_UP_Button : DAGR_Button { + idc = 266864; + action = "DAGR_UP = true"; + x = 0.50; + y = 0.675; + }; + + class DAGR_DOWN_Button : DAGR_Button { + idc = 266865; + action = "DAGR_Down = true"; + x = 0.50; + y = 0.81; + }; + + class DAGR_LEFT_Button : DAGR_Button { + idc = 266866; + action = "DAGR_LEFT = true"; + x = 0.40; + y = 0.735; + w = 0.05; + h = 0.07; + }; + + class DAGR_RIGHT_Button : DAGR_Button { + idc = 266867; + action = "DAGR_RIGHT = true"; + x = 0.62; + y = 0.735; + w = 0.05; + h = 0.07; + }; + + class DAGR_NEXT_Button : DAGR_Button { + idc = 266868; + action = "DAGR_NEXT = true"; + x = 0.60; + y = 0.65; + }; + + class DAGR_SEL_Button : DAGR_Button { + idc = 266869; + action = "DAGR_SEL = true"; + x = 0.54; + y = 0.735; + w = 0.06; + h = 0.06; + }; + + class DAGR_MENU_Button : DAGR_Button { + idc = 266870; + action = "DAGR_MENU_B = true"; + x = 0.46; + y = 0.735; + w = 0.06; + h = 0.06; + }; + + class DAGR_F1_Button : DAGR_Button { + idc = 266871; + action = "DAGR_F1 = true"; + x = 0.40; + y = 0.575; + }; + + class DAGR_F2_Button : DAGR_Button { + idc = 266872; + action = "DAGR_F2 = true"; + x = 0.495; + y = 0.575; + }; + + class DAGR_F3_Button : DAGR_Button { + idc = 266873; + action = "DAGR_F3 = true"; + x = 0.59; + y = 0.575; + }; + + class DAGR_F1_Text : DAGR_Menu_Text { + idc = 266874; + x = 0.388; + y = 0.38; + text = ""; + }; + + class DAGR_F2_Text : DAGR_Menu_Text { + idc = 266875; + x = 0.506; + y = 0.38; + }; + + class DAGR_F3_Text : DAGR_Menu_Text { + idc = 266876; + x = 0.612; + y = 0.38; + }; + + class DAGR_MENU_OPTION0 : DAGR_Menu_Text { + idc = 2668777; + style = 0x02; + sizeEx = 0.035; + x = 0.43; + y = 0.19; + }; + + class DAGR_MENU_OPTION1 : DAGR_Menu_Text { + idc = 2668778; + style = 0x02; + sizeEx = 0.035; + x = 0.43; + y = 0.225; + }; + + class DAGR_MENU_OPTION2 : DAGR_Menu_Text { + idc = 2668779; + style = 0x02; + sizeEx = 0.035; + x = 0.43; + y = 0.26; + }; + + class DAGR_MENU_OPTION3 : DAGR_Menu_Text { + idc = 2668780; + style = 0x02; + sizeEx = 0.035; + x = 0.43; + y = 0.295; + }; + + class DAGR_MENU_OPTION4 : DAGR_Menu_Text { + idc = 2668781; + style = 0x02; + sizeEx = 0.035; + x = 0.43; + y = 0.33; + }; + class DAGR_MENU_SELECTION0 : DAGR_Menu_Pic { + idc = 2668783; + x = 0.42; + y = 0.246; + w = 0.17; + h = 0.035; + sizeEx = 0.05; + }; + + class DAGR_MENU_SELECTION1 : DAGR_Menu_Pic { + idc = 2668784; + x = 0.42; + y = 0.281; + w = 0.17; + h = 0.035; + sizeEx = 0.05; + }; + + class DAGR_MENU_SELECTION2 : DAGR_Menu_Pic { + idc = 2668785; + x = 0.42; + y = 0.316; + w = 0.17; + h = 0.035; + sizeEx = 0.05; + }; + + class DAGR_MENU_SELECTION3 : DAGR_Menu_Pic { + idc = 2668786; + x = 0.42; + y = 0.351; + w = 0.17; + h = 0.035; + sizeEx = 0.05; + }; + + class DAGR_MENU_SELECTION4 : DAGR_Menu_Pic { + idc = 2668787; + x = 0.42; + y = 0.386; + w = 0.17; + h = 0.035; + sizeEx = 0.05; + }; + + class DAGR_MENU_Main_Text : DAGR_Menu_Text { + idc = 2668782; + style = ST_CENTER; + x = 0.38; + y = 0.32; + w = 0.25; + h = 0.035; + sizeEx = 0.04; + }; + + class DAGR_MENU_PSELECTION1 : DAGR_Menu_Pic { + idc = 2668788; + x = 0.451; + y = 0.352; + w = 0.01; + h = 0.003; + }; + + class DAGR_MENU_PSELECTION2 : DAGR_Menu_Pic { + idc = 2668789; + x = 0.465; + y = 0.352; + w = 0.01; + h = 0.003; + }; + + class DAGR_MENU_PSELECTION3 : DAGR_Menu_Pic { + idc = 2668790; + x = 0.479; + y = 0.352; + w = 0.01; + h = 0.003; + }; + + class DAGR_MENU_PSELECTION4 : DAGR_Menu_Pic { + idc = 2668791; + x = 0.493; + y = 0.352; + w = 0.01; + h = 0.003; + }; + + class DAGR_MENU_PSELECTION5 : DAGR_Menu_Pic { + idc = 2668792; + x = 0.507; + y = 0.352; + w = 0.01; + h = 0.003; + }; + + class DAGR_MENU_PSELECTION6 : DAGR_Menu_Pic { + idc = 2668793; + x = 0.521; + y = 0.352; + w = 0.01; + h = 0.003; + }; + + class DAGR_MENU_PSELECTION7 : DAGR_Menu_Pic { + idc = 2668794; + x = 0.535; + y = 0.352; + w = 0.01; + h = 0.003; + }; + + class DAGR_MENU_PSELECTION8 : DAGR_Menu_Pic { + idc = 2668795; + x = 0.549; + y = 0.352; + w = 0.01; + h = 0.003; + }; +}; diff --git a/addons/dagr/README.md b/addons/dagr/README.md new file mode 100644 index 0000000000..33d095dca4 --- /dev/null +++ b/addons/dagr/README.md @@ -0,0 +1,10 @@ +ace_dagr +=============== + +Defense Advanced GPS Receiver + +## Maintainers + +The people responsible for merging changes to this component or answering potential questions. + +- [Ruthberg] (http://github.com/Ulteq) \ No newline at end of file diff --git a/addons/dagr/RscTitles.hpp b/addons/dagr/RscTitles.hpp new file mode 100644 index 0000000000..8467c70f66 --- /dev/null +++ b/addons/dagr/RscTitles.hpp @@ -0,0 +1,95 @@ +class RscTitles { + class DAGR_Text { + type = 0; + idc = -1; + style = 0x01; + x = 0; + y = 0; + w = 0.15; + h = 0.050; + text = ""; + colorBackground[] = { 0, 0, 0, 0 }; + colorText[] = { 0.239, 0.216, 0.153, 1 }; + font = "PuristaMedium"; + sizeEx = 0.04; + waitForLoad = 0; + }; + class DAGR_Pic { + type = 0; + idc = -1; + style = 48; + x = 0; + y = 0; + w = 0.50; + h = 0.50; + text = ""; + colorBackground[] = {}; + colorText[] = {}; + font = "PuristaMedium"; + sizeEx = 0.02; + waitForLoad = 0; + }; + + class DAGR_Display { + idd = 266850; + movingEnable = false; + duration = 100000; + fadein = 0; + fadeout = 0; + name = "Dagr_Display"; + onLoad="uiNamespace setVariable ['DAGR_Display', _this select 0]"; + controls[] = {"DAGR_UI", "DAGR_Grid", "DAGR_Speed", "DAGR_Elevation", "DAGR_Heading", "DAGR_Time", "DAGR_WP", "DAGR_Bearing", "DAGR_DIST"}; + + class DAGR_UI : DAGR_Pic { + idc = 266856; + x = "(SafeZoneW + SafeZoneX) - 0.45"; + y = "(SafeZoneH + SafeZoneY) - 0.47"; + }; + + class DAGR_Grid : DAGR_Text { + idc = 266851; + x = "(SafeZoneW + SafeZoneX) - 0.370";// 0.830 + y = "(SafeZoneH + SafeZoneY)- 0.250";// 0.845 + w = 0.25; + h = 0.06; + sizeEx = 0.07; + }; + class DAGR_Speed : DAGR_Text { + idc = 266852; + x = "(SafeZoneW + SafeZoneX) - 0.388"; //0.812 + y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914 + }; + class DAGR_Elevation : DAGR_Text { + idc = 266853; + x = "(SafeZoneW + SafeZoneX) - 0.270"; //0.930 + y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914 + }; + class DAGR_Heading : DAGR_Text { + idc = 266854; + x = "(SafeZoneW + SafeZoneX) - 0.413"; //0.787 + y = "(SafeZoneH + SafeZoneY) - 0.1294"; //0.9656 + }; + class DAGR_Time : DAGR_Text { + idc = 266855; + x = "(SafeZoneW + SafeZoneX) - 0.275"; //0.925 + y = "(SafeZoneH + SafeZoneY) - 0.129"; //0.965 + }; + + class DAGR_WP : DAGR_Text { + idc = 266857; + x = "(SafeZoneW + SafeZoneX) - 0.235"; //0.965 + y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914 + }; + + class DAGR_Bearing : DAGR_Text { + idc = 266858; + x = "(SafeZoneW + SafeZoneX) - 0.413"; //0.787 + y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914 + }; + class DAGR_DIST : DAGR_Text { + idc = 266859; + x = "(SafeZoneW + SafeZoneX) - 0.265"; //0.935 + y = "(SafeZoneH + SafeZoneY) - 0.129"; //0.965 + }; + }; +}; diff --git a/addons/dagr/UI/DAGR_Button.paa b/addons/dagr/UI/DAGR_Button.paa new file mode 100644 index 0000000000..f81a8cef4a Binary files /dev/null and b/addons/dagr/UI/DAGR_Button.paa differ diff --git a/addons/dagr/UI/DAGR_GPS.paa b/addons/dagr/UI/DAGR_GPS.paa new file mode 100644 index 0000000000..b0e05a5a65 Binary files /dev/null and b/addons/dagr/UI/DAGR_GPS.paa differ diff --git a/addons/dagr/UI/DAGR_GPS_SHOW.paa b/addons/dagr/UI/DAGR_GPS_SHOW.paa new file mode 100644 index 0000000000..71f93e5f01 Binary files /dev/null and b/addons/dagr/UI/DAGR_GPS_SHOW.paa differ diff --git a/addons/dagr/UI/DAGR_Icon.paa b/addons/dagr/UI/DAGR_Icon.paa new file mode 100644 index 0000000000..b44199d563 Binary files /dev/null and b/addons/dagr/UI/DAGR_Icon.paa differ diff --git a/addons/dagr/UI/DAGR_MENU.paa b/addons/dagr/UI/DAGR_MENU.paa new file mode 100644 index 0000000000..311e2a607a Binary files /dev/null and b/addons/dagr/UI/DAGR_MENU.paa differ diff --git a/addons/dagr/UI/DAGR_PSelection.paa b/addons/dagr/UI/DAGR_PSelection.paa new file mode 100644 index 0000000000..9e1eb679fa Binary files /dev/null and b/addons/dagr/UI/DAGR_PSelection.paa differ diff --git a/addons/dagr/UI/DAGR_Selection.paa b/addons/dagr/UI/DAGR_Selection.paa new file mode 100644 index 0000000000..16ecf82593 Binary files /dev/null and b/addons/dagr/UI/DAGR_Selection.paa differ diff --git a/addons/dagr/UI/DAGR_Vector.paa b/addons/dagr/UI/DAGR_Vector.paa new file mode 100644 index 0000000000..c414cbd7e7 Binary files /dev/null and b/addons/dagr/UI/DAGR_Vector.paa differ diff --git a/addons/dagr/UI/DAGR_WP.paa b/addons/dagr/UI/DAGR_WP.paa new file mode 100644 index 0000000000..e8e541a36f Binary files /dev/null and b/addons/dagr/UI/DAGR_WP.paa differ diff --git a/addons/dagr/XEH_postInit.sqf b/addons/dagr/XEH_postInit.sqf new file mode 100644 index 0000000000..ce40e2df81 --- /dev/null +++ b/addons/dagr/XEH_postInit.sqf @@ -0,0 +1,28 @@ +#include "script_component.hpp" + +DAGR_RUN = false; +DAGR_STP = false; +DAGR_MENU_RUN = false; +Dagr_Map_Info = "default"; +DAGR_DIRECTION = true; // true -> degrees; false -> milliradian +DAGR_GRID_VECTOR = "00000000"; // Default + +DAGR_WP_NUM = 0; // Number of WPs entered into DAGR +DAGR_WP0_String = ""; // Presets all WPs to empty +DAGR_WP1_String = ""; +DAGR_WP2_String = ""; +DAGR_WP3_String = ""; +DAGR_WP4_String = ""; +DAGR_WP0 = 0; +DAGR_WP1 = 0; +DAGR_WP2 = 0; +DAGR_WP3 = 0; +DAGR_WP4 = 0; +DAGRSLEEP = 0.5; // Update timer on DAGR, set for 0.5 seconds +DAGR_EMPTYVECTOR = true; // Keeps DAGR Vector display from filling up before use + +DAGR_DISPLAY_SELECTION = "DATA"; // Sets DAGR for data display + +NODAGRDISPLAY = true; + +["RangerfinderData", {_this call FUNC(DAGR_VECTOR)}] call EFUNC(common,addEventHandler); diff --git a/addons/dagr/XEH_preInit.sqf b/addons/dagr/XEH_preInit.sqf new file mode 100644 index 0000000000..3cc0b0ca6e --- /dev/null +++ b/addons/dagr/XEH_preInit.sqf @@ -0,0 +1,13 @@ +#include "script_component.hpp" + +ADDON = false; + +PREP(DAGR_MENU_INIT); +PREP(DAGR_OUTPUT_DATA); +PREP(DAGR_OUTPUT_VECTOR); +PREP(DAGR_OUTPUT_WP); +PREP(DAGR_START); +PREP(DAGR_VECTOR); +PREP(mapCoord); + +ADDON = true; diff --git a/addons/dagr/config.cpp b/addons/dagr/config.cpp new file mode 100644 index 0000000000..9f46660aaa --- /dev/null +++ b/addons/dagr/config.cpp @@ -0,0 +1,18 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + units[] = {"ACE_Item_DAGR"}; + weapons[] = {"ACE_DAGR"}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_weather"}; + author[] = {"Rosuto", "Ruthberg"}; + VERSION_CONFIG; + }; +}; + +#include "CfgEventHandlers.hpp" +#include "CfgVehicles.hpp" +#include "CfgWeapons.hpp" +#include "Dialog.hpp" +#include "RscTitles.hpp" diff --git a/addons/dagr/functions/fnc_DAGR_MENU_INIT.sqf b/addons/dagr/functions/fnc_DAGR_MENU_INIT.sqf new file mode 100644 index 0000000000..89b72cdf7c --- /dev/null +++ b/addons/dagr/functions/fnc_DAGR_MENU_INIT.sqf @@ -0,0 +1,31 @@ +/* + * Author: Rosuto, Ruthberg + * Creates the DAGR menu dialog + * + * Arguments: + * Nothing + * + * Return Value: + * Nothing + * + * Example: + * + * Public: No + */ +#include "script_component.hpp" + +[] spawn { + if (DAGR_MENU_RUN) then { + closeDialog 266860; + DAGR_PWR = true; + sleep 0.1; + }; + + 135471 cutText ["", "PLAIN"]; + + DAGR_RUN = false; + DAGR_STP = false; + + DAGR_MENU_RUN = true; + DAGR_Menu_Handler = [] execFSM QUOTE(PATHTOF(DAGR_MENU.fsm)); +}; diff --git a/addons/dagr/functions/fnc_DAGR_OUTPUT_DATA.sqf b/addons/dagr/functions/fnc_DAGR_OUTPUT_DATA.sqf new file mode 100644 index 0000000000..f43b5ed4b5 --- /dev/null +++ b/addons/dagr/functions/fnc_DAGR_OUTPUT_DATA.sqf @@ -0,0 +1,121 @@ +/* + * Author: Rosuto + * DAGR data output loop + * + * Arguments: + * Nothing + * + * Return Value: + * Nothing + * + * Example: + * + * Public: No + */ + #include "script_component.hpp" + +disableSerialization; + +private ["_pos", "_x", "_y", "_xgrid", "_pos", "_ygrid", "_lastY", "_lastX", "_xcoord", "_ycoord", "_display", "_speed", "_vic", "_dagrHeading", "_dagrGrid", "_background", "_dagrElevation", "_dagrSpeed", "_dagrTime", "_elevation", "_elevationControl", "_grid", "_gridControl", "_headingControl", "_speedControl", "_timeControl"]; + +135471 cutRsc ["DAGR_DISPLAY", "plain down"]; +_display = (uiNameSpace getVariable "DAGR_DISPLAY"); + +_gridControl = _display displayCtrl 266851; +_speedControl = _display displayCtrl 266852; +_elevationControl = _display displayCtrl 266853; +_headingControl = _display displayCtrl 266854; +_timeControl = _display displayCtrl 266855; +_background = _display displayCtrl 266856; + +_background ctrlSetText QUOTE(PATHTOF(UI\dagr_gps.paa)); + +while {DAGR_RUN} do { + if (Dagr_Map_Info == "default") then { + _dagrGrid = mapGridPosition ACE_player; + } else { + //GRID + _pos = getPos ACE_player; + _x = _pos select 0; + _y = _pos select 1; + + _grid = ACE_player call FUNC(mapCoord); + _xgrid = floor (call compile (_grid select 0)); + _ygrid = floor (call compile (_grid select 1)); + + //Incase grids go neg due to 99-00 boundry + if (_xgrid < 0) then {_xgrid = _xgrid + 9999;}; + if (_ygrid < 0) then {_ygrid = _ygrid + 9999;}; + + _xcoord = + if (_xgrid >= 1000) then { + str _xgrid; + } else { + if (_xgrid >= 100) then { + "0" + str _xgrid; + } else { + if (_xgrid >= 10) then { + "00" + str _xgrid; + } else{ + "000" + str _xgrid; + }; + }; + }; + + _ycoord = + if (_ygrid >= 1000) then { + str _ygrid; + } else { + if (_ygrid >= 100) then { + "0" + str _ygrid; + } else { + if (_ygrid >= 10) then { + "00" + str _ygrid; + } else{ + "000" + str _ygrid; + }; + }; + }; + _dagrGrid = _xcoord + " " + _ycoord; + }; + + //SPEED + if (vehicle ACE_player != ACE_player) then { + _vic = vehicle ACE_player; + _speed = speed _vic; + } else{ + _speed = speed ACE_player; + }; + _speed = floor (_speed *10) / 10; + _speed = abs(_speed); + _dagrspeed = str _speed + "kph"; + + //Elevation + _elevation = getPosASL ACE_player; + _elevation = floor ((_elevation select 2) + EGVAR(weather,altitude)); + _dagrElevation = str _elevation + "m"; + + //Heading + if (vehicle ACE_player != ACE_player) then { + _vic = vehicle ACE_player; + _dagrHeading = if (!DAGR_DIRECTION) then {floor ((direction _vic)/360*6400)} else {floor (direction _vic);}; + } else{ + _dagrHeading = if (!DAGR_DIRECTION) then {floor ((direction ACE_player)/360*6400)} else {floor (direction ACE_player);}; + }; + + //Time + _dagrTime = [daytime, "HH:MM"] call bis_fnc_timeToString; + + //output + _gridControl ctrlSetText format ["%1", _dagrGrid]; + _speedControl ctrlSetText format ["%1", _dagrSpeed]; + _elevationControl ctrlSetText format ["%1", _dagrElevation]; + _headingControl ctrlSetText (if (!DAGR_DIRECTION) then { format ["%1", _dagrHeading] } else { format ["%1 °", _dagrHeading] }); + _timeControl ctrlSetText format ["%1", _dagrTime]; + + sleep DAGRSLEEP; + if !([ACE_player, "ACE_DAGR"] call EFUNC(common,hasItem)) exitWith { + DAGR_RUN = false; + 135471 cutText ["", "PLAIN"]; + }; +}; diff --git a/addons/dagr/functions/fnc_DAGR_OUTPUT_VECTOR.sqf b/addons/dagr/functions/fnc_DAGR_OUTPUT_VECTOR.sqf new file mode 100644 index 0000000000..ef364cec7c --- /dev/null +++ b/addons/dagr/functions/fnc_DAGR_OUTPUT_VECTOR.sqf @@ -0,0 +1,109 @@ +/* + * Author: Rosuto + * DAGR vector output loop + * + * Arguments: + * Nothing + * + * Return Value: + * Nothing + * + * Example: + * + * Public: No + */ +#include "script_component.hpp" + +disableSerialization; + +private ["_x", "_y", "_xgrid", "_ygrid", "_dsp", "_dagrGrid", "_background", "_bearing", "_dagrDist", "_dagrElevation", "_dagrTime", "_display", "_elevation", "_elevationControl", "_grid", "_gridControl", "_headingControl", "_speedControl", "_timeControl", "_xcoord", "_ycoord"]; + +135471 cutRsc ["DAGR_DISPLAY", "plain down"]; +_display = (uiNameSpace getVariable "DAGR_DISPLAY"); + +_gridControl = _display displayCtrl 266851; +_speedControl = _display displayCtrl 266858; +_elevationControl = _display displayCtrl 266853; +_headingControl = _display displayCtrl 266854; +_timeControl = _display displayCtrl 266855; +_background = _display displayCtrl 266856; + +_background ctrlSetText QUOTE(PATHTOF(UI\dagr_vector.paa)); + +if (NODAGRDISPLAY) exitwith {}; + +if (Dagr_Map_Info == "default") then { + _dagrGrid = mapGridPosition DAGRLAZPOS; +} else { + //find laser position + _x = DAGRLAZPOS select 0; + _y = DAGRLAZPOS select 1; + + _grid = [_x, _y] call ace_fnc_mapCoord; + _xgrid = floor (call compile (_grid select 0)); + _ygrid = floor (call compile (_grid select 1)); + + //Incase grids go neg due to 99-00 boundry + if (_xgrid < 0) then {_xgrid = _xgrid + 9999;}; + if (_ygrid < 0) then {_ygrid = _ygrid + 9999;}; + + _xcoord = + if (_xgrid >= 1000) then { + str _xgrid; + } else { + if (_xgrid >= 100) then { + "0" + str _xgrid; + } else { + if (_xgrid >= 10) then { + "00" + str _xgrid; + }else{ + "000" + str _xgrid; + }; + }; + }; + + _ycoord = + if (_ygrid >= 1000) then { + str _ygrid; + } else { + if (_ygrid >= 100) then { + "0" + str _ygrid; + } else { + if (_ygrid >= 10) then { + "00" + str _ygrid; + }else{ + "000" + str _ygrid; + }; + }; + }; + + _dagrGrid = _xcoord + " " + _ycoord; +}; + +//find target elevation +_elevation = floor ((DAGRLAZPOS select 2) + EGVAR(weather,altitude)); +_dagrElevation = str _elevation + "m"; + +//Time +_dagrTime = [daytime, "HH:MM"] call bis_fnc_timeToString; + +//Bearing +_bearing = DAGRLazHeading; +if (_bearing >= 360) then {_bearing = _bearing - 360;}; +if (!DAGR_DIRECTION) then {_bearing = floor (_bearing/360*6400)}; + + +_bearing = floor (_bearing); + +//Distance +_dagrDist = str DAGRLAZDIST + "m"; + +//put grid into variable so DAGR menu can access it TODO: check if it is safe to do it in this fashion +DAGR_GRID_VECTOR = _dagrGrid; + +//OUTPUT +_gridControl ctrlSetText format ["%1", _dagrGrid]; +_speedControl ctrlSetText format ["%1", _dagrDist]; +_elevationControl ctrlSetText format ["%1", _dagrElevation]; +_headingControl ctrlSetText (if (!DAGR_DIRECTION) then { format ["%1", _bearing] } else { format ["%1°", _bearing] }); +_timeControl ctrlSetText format ["%1", _dagrTime]; diff --git a/addons/dagr/functions/fnc_DAGR_OUTPUT_WP.sqf b/addons/dagr/functions/fnc_DAGR_OUTPUT_WP.sqf new file mode 100644 index 0000000000..3997d33a7e --- /dev/null +++ b/addons/dagr/functions/fnc_DAGR_OUTPUT_WP.sqf @@ -0,0 +1,172 @@ +/* + * Author: Rosuto + * DAGR waypoint output loop + * + * Arguments: + * Nothing + * + * Return Value: + * Nothing + * + * Example: + * + * Public: No + */ +#include "script_component.hpp" + +disableSerialization; + +private ["_pos", "_x", "_y", "_xgrid", "_ygrid", "_lastY", "_lastX", "_xcoord", "_ycoord", "_sec", "_min", "_hour", "_time", "_display", "_speed", "_vic", "_dagrHeading", "_WPHeading", "_dagrGrid", "_bearing", "_MYpos", "_WPpos", "_background", "_dagrDistance", "_distance", "_elevationControl", "_grid", "_gridControl", "_headingControl", "_speedControl", "_timeControl"]; + +135471 cutRsc ["DAGR_DISPLAY", "plain down"]; +_display = (uiNameSpace getVariable "DAGR_DISPLAY"); + +_gridControl = _display displayCtrl 266851; +_speedControl = _display displayCtrl 266858; +_elevationControl = _display displayCtrl 266857; +_headingControl = _display displayCtrl 266854; +_timeControl = _display displayCtrl 266859; +_background = _display displayCtrl 266856; + +_background ctrlSetText QUOTE(PATHTOF(UI\dagr_wp.paa)); + +while {DAGR_RUN} do { + //if (Dagr_Map_Info == "default") exitwith {_gridControl ctrlSetText "ERROR"}; + //GRID + _pos = getPos ACE_player; + _x = _pos select 0; + _y = _pos select 1; + + _grid = ACE_player call FUNC(mapCoord); + _xgrid = floor (call compile (_grid select 0)); + _ygrid = floor (call compile (_grid select 1)); + + //Incase grids go neg due to 99-00 boundry + if (_xgrid < 0) then {_xgrid = _xgrid + 9999;}; + if (_ygrid < 0) then {_ygrid = _ygrid + 9999;}; + + _xcoord = + if (_xgrid >= 1000) then { + str _xgrid; + } else { + if (_xgrid >= 100) then { + "0" + str _xgrid; + } else { + if (_xgrid >= 10) then { + "00" + str _xgrid; + }else{ + "000" + str _xgrid; + }; + }; + }; + + _ycoord = + if (_ygrid >= 1000) then { + str _ygrid; + } else { + if (_ygrid >= 100) then { + "0" + str _ygrid; + } else { + if (_ygrid >= 10) then { + "00" + str _ygrid; + }else{ + "000" + str _ygrid; + }; + }; + }; + + _dagrGrid = _xcoord + " " + _ycoord; + + //WP Grid + _xgrid2 = floor (DAGR_WP_INFO / 10000); + _ygrid2 = DAGR_WP_INFO - _xgrid2 * 10000; + + _xcoord2 = + if (_xgrid2 >= 1000) then { + str _xgrid2; + } else { + if (_xgrid2 >= 100) then { + "0" + str _xgrid2; + } else { + if (_xgrid2 >= 10) then { + "00" + str _xgrid2; + }else{ + "000" + str _xgrid2; + }; + }; + }; + + _ycoord2 = + if (_ygrid2 >= 1000) then { + str _ygrid2; + } else { + if (_ygrid2 >= 100) then { + "0" + str _ygrid2; + } else { + if (_ygrid2 >= 10) then { + "00" + str _ygrid2; + }else{ + "000" + str _ygrid2; + }; + }; + }; + + _dagrGrid2 = _xcoord2 + " " + _ycoord2; + + //Distance + _WPpos = [[_xcoord2, _ycoord2], true] call CBA_fnc_mapGridToPos; + _MYpos = [[_xcoord, _ycoord], true] call CBA_fnc_mapGridToPos; + _distance = _MYpos distance _WPpos; + _distance = floor (_distance * 10); + _distance = _distance / 10; + _dagrDistance = str _distance + "m"; + + + //ACE_player Heading + if (vehicle ACE_player != ACE_player) then { + _vic = vehicle ACE_player; + if (DAGR_DIRECTION) then { + _dagrHeading = floor (direction _vic); + } else { + _dagrHeading = floor ((direction _vic)/360*6400); + }; + }else{ + if (DAGR_DIRECTION) then { + _dagrHeading = floor (direction ACE_player); + } else { + _dagrHeading = floor ((direction ACE_player)/360*6400); + }; + }; + + //WP Heading + _x = ((_WPpos select 0) - (_MYpos select 0)); + _y = ((_WPpos select 1) - (_MYpos select 1)); + + if (_distance == 0) then { + _bearing = 0; + } else { + _bearing = _x / _distance; + if (_bearing >= 1) then {_bearing = 1;}; + if (_bearing <= -1) then {_bearing = -1;}; + _bearing = acos _bearing; + //_bearing = floor (_bearing); + if (_x >= 0 && {_y >= 0}) then {_bearing = 0 - _bearing + 90;}; + if (_x < 0 && {_y >= 0}) then {_bearing = 0 - _bearing + 450;}; + if (_x < 0 && {_y < 0}) then {_bearing = _bearing + 90;}; + if (_x >= 0 && {_y < 0}) then {_bearing = _bearing + 90;}; + if (!DAGR_DIRECTION) then {_bearing = floor (_bearing/360*6400)} else {_bearing = floor (_bearing)}; + }; + + //output + _gridControl ctrlSetText format ["%1", _dagrGrid]; + _speedControl ctrlSetText format ["%1", _bearing]; + _elevationControl ctrlSetText format ["%1", _dagrGrid2]; + _headingControl ctrlSetText (if (!DAGR_DIRECTION) then { format ["%1", _dagrHeading] } else { format ["%1°", _dagrHeading] }); + _timeControl ctrlSetText format ["%1", _dagrDistance]; + + sleep DAGRSLEEP; + if !([ACE_player, "ACE_DAGR"] call EFUNC(common,hasItem)) exitWith { + DAGR_RUN = false; + 135471 cutText ["", "PLAIN"]; + }; +}; diff --git a/addons/dagr/functions/fnc_DAGR_START.sqf b/addons/dagr/functions/fnc_DAGR_START.sqf new file mode 100644 index 0000000000..bc2d123fa9 --- /dev/null +++ b/addons/dagr/functions/fnc_DAGR_START.sqf @@ -0,0 +1,44 @@ +/* + * Author: Rosuto, Ruthberg + * Toggles the DAGR overlay + * + * Arguments: + * Nothing + * + * Return Value: + * Nothing + * + * Example: + * + * Public: No + */ +#include "script_component.hpp" + +if (cameraView == "GUNNER") exitWith {}; + +DAGR_RUN = !DAGR_RUN; + +if (DAGR_RUN) then { + switch (toUpper DAGR_DISPLAY_SELECTION) do { + case "WP" : { + [] spawn FUNC(DAGR_OUTPUT_WP); + }; + case "VECTOR" : { + [] spawn FUNC(DAGR_OUTPUT_VECTOR); + }; + case "DATA" : { + [] spawn FUNC(DAGR_OUTPUT_DATA); + }; + }; + [{ + EXPLODE_1_PVT(_this select 0,_vehicle); + if (DAGR_STP || (!alive ACE_player) || (cameraView == "GUNNER") || (vehicle ACE_player != _vehicle)) exitWith { + 135471 cutText ["", "PLAIN"]; + DAGR_RUN = false; + DAGR_STP = false; + [_this select 1] call CBA_fnc_removePerFrameHandler; + }; + }, 0.1, [vehicle ACE_player]] call CBA_fnc_addPerFrameHandler; +} else { + DAGR_STP = true; +}; diff --git a/addons/dagr/functions/fnc_DAGR_VECTOR.sqf b/addons/dagr/functions/fnc_DAGR_VECTOR.sqf new file mode 100644 index 0000000000..d4373546ba --- /dev/null +++ b/addons/dagr/functions/fnc_DAGR_VECTOR.sqf @@ -0,0 +1,30 @@ +/* + * Author: Rosuto, Ruthberg + * Handles incoming data packets from the Vectronix Vector LRF + * + * Arguments: + * 0: Slope distance (Meters) + * 1: Azimuth (Degrees) + * 2: Inclination (Degrees) + * + * Return Value: + * Nothing + * + * Example: + * [1000, 45, 1] call ace_dagr_fnc_DAGR_VECTOR + * + * Public: No + */ +#include "script_component.hpp" + +#define EMP_RF_ACC 5 + +PARAMS_3(_slopeDistance,_azimuth,_inclination); + +if (!DAGR_EMPTYVECTOR) then { + DAGRLAZPOS = (eyePos player) vectorAdd ([_slopeDistance, _azimuth, _inclination] call CBA_fnc_polar2vect); + DAGRLAZDIST = _slopeDistance * cos(_inclination); + DAGRLAZDIST = floor(DAGRLAZDIST / EMP_RF_ACC) * EMP_RF_ACC; + DAGRLazHeading = _azimuth; + NODAGRDISPLAY = false; +}; diff --git a/addons/dagr/functions/fnc_mapCoord.sqf b/addons/dagr/functions/fnc_mapCoord.sqf new file mode 100644 index 0000000000..6e0d96daa2 --- /dev/null +++ b/addons/dagr/functions/fnc_mapCoord.sqf @@ -0,0 +1,50 @@ +/* + * Author: Rosuto, Ruthberg + * Converts any kind of position into a position string array + * + * Arguments: + * 0: position + * + * Return Value: + * 0: x-pos + * 1: y-pos + * + * Example: + * + * Public: No + */ +#include "script_component.hpp" + +private ["_pos", "_grid", "_xGrid", "_yGrid"]; +_pos = [0, 0]; + +switch (typeName _this) do { + //--- Coordinates + case "ARRAY": { + _pos = _this; + }; + //--- Unit + case "OBJECT": { + _pos = getPosASL _this; + }; + //--- Marker + case "STRING": { + _pos = markerPos _this; + }; +}; + +_grid = toArray (mapGridPosition _pos); +if (count _grid > 4) then { + if (count _grid > 6) then { + _xGrid = toString [_grid select 0, _grid select 1, _grid select 2, _grid select 3]; + _yGrid = toString [_grid select 4, _grid select 5, _grid select 6, _grid select 7]; + } else { + _xGrid = toString [_grid select 0, _grid select 1, _grid select 2]; + _yGrid = toString [_grid select 3, _grid select 4, _grid select 5]; + }; +} else { + _xGrid = toString [_grid select 0, _grid select 1]; + _yGrid = toString [_grid select 2, _grid select 3]; +}; + +[_xGrid, _yGrid] diff --git a/addons/dagr/functions/script_component.hpp b/addons/dagr/functions/script_component.hpp new file mode 100644 index 0000000000..18b02deaee --- /dev/null +++ b/addons/dagr/functions/script_component.hpp @@ -0,0 +1 @@ +#include "\z\ace\addons\dagr\script_component.hpp" \ No newline at end of file diff --git a/addons/dagr/script_component.hpp b/addons/dagr/script_component.hpp new file mode 100644 index 0000000000..91e74c511d --- /dev/null +++ b/addons/dagr/script_component.hpp @@ -0,0 +1,12 @@ +#define COMPONENT dagr +#include "\z\ace\addons\main\script_mod.hpp" + +#ifdef DEBUG_ENABLED_DAGR + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_SETTINGS_DAGR + #define DEBUG_SETTINGS DEBUG_SETTINGS_DAGR +#endif + +#include "\z\ace\addons\main\script_macros.hpp" diff --git a/addons/dagr/stringtable.xml b/addons/dagr/stringtable.xml new file mode 100644 index 0000000000..7da844d614 --- /dev/null +++ b/addons/dagr/stringtable.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file