@@ -170,14 +170,22 @@ if (isMultiplayer) then {
170170 _revive_activated = paramsArray select 0 ; // Revives, true or false
171171 DUWSMP_CP_death_cost = paramsArray select 1 ;
172172
173- if (support_armory_available) then {
174- hq_blu1 addaction [" <t color='#ff1111'>Armory</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];
175- };
173+ if (support_armory_available) then {
174+ hq_blu1 addaction [" <t color='#ff0066'>Armory 1 (VAS)</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];
175+ hq_blu1 addaction [" <t color='#ff0066'>Armory 2 (VA)</t>" ," bisArsenal.sqf" , " " , 0 , true , true , " " , " _this == player" ];
176+ { _x addaction [" <t color='#ff0066'>Armory 1 (VAS)</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];
177+ _x addaction [" <t color='#ff0066'>Armory 2 (VA)</t>" ," bisArsenal.sqf" , " " , 0 , true , true , " " , " _this == player" ]; } forEach (Array_of_FOBS);
178+ };
176179
177180 if (_revive_activated == 1 ) then {execVM " duws_revive\reviveInit.sqf" };
178181 PlayerKilledEH = player addEventHandler [" killed" , {commandpointsblu1 = commandpointsblu1 - DUWSMP_CP_death_cost; publicVariable " commandpointsblu1" }];
179182 " support_specialized_training_available" addPublicVariableEventHandler {lbSetColor [2103 , 11 , [0 , 1 , 0 , 1 ]];};
180- " support_armory_available" addPublicVariableEventHandler {hq_blu1 addaction [" <t color='#ff1111'>Armory</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];lbSetColor [2103 , 5 , [0 , 1 , 0 , 1 ]];};
183+ " support_armory_available" addPublicVariableEventHandler {
184+ hq_blu1 addaction [" <t color='#ff0066'>Armory 1 (VAS)</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];
185+ hq_blu1 addaction [" <t color='#ff0066'>Armory 2 (VA)</t>" ," bisArsenal.sqf" , " " , 0 , true , true , " " , " _this == player" ];
186+ { _x addaction [" <t color='#ff0066'>Armory 1 (VAS)</t>" ," VAS\open.sqf" , " " , 0 , true , true , " " , " _this == player" ];
187+ _x addaction [" <t color='#ff0066'>Armory 2 (VA)</t>" ," bisArsenal.sqf" , " " , 0 , true , true , " " , " _this == player" ]; } forEach (Array_of_FOBS);
188+ lbSetColor [2103 , 5 , [0 , 1 , 0 , 1 ]];};
181189 " commandpointsblu1" addPublicVariableEventHandler {ctrlSetText [1000 , format [" %1" ,commandpointsblu1]];}; // change the shown CP for request dialog
182190
183191 // each time there is a new FOB
@@ -333,7 +341,7 @@ if (isMultiplayer) then {
333341
334342 // WAIT UNTIL ALL ZONES ARE CAPTURED
335343 waitUntil {sleep 1 ; amount_zones_created > 0 };
336- waitUntil {sleep 3 ; (zoneundercontrolblu >= amount_zones_created);}; // Toutes les zones sont capturées
344+ waitUntil {sleep 3 ; (zoneundercontrolblu >= amount_zones_created);}; // Toutes les zones sont capturées
337345 persistent_stat_script_win = [] execVM " persistent\persistent_stats_win.sqf" ;
338346 [" TaskSucceeded" ,[" " ," Island captured!" ]] call bis_fnc_showNotification ;
339347 capture_island_obj setTaskState " Succeeded" ;
@@ -388,4 +396,4 @@ if(isServer) then
388396
389397 execVM "persistent\missionSpecific\loadAccount.sqf";
390398};
391- */
399+ */
0 commit comments