Skip to content

Commit 1306db5

Browse files
committed
Merge branch 'development'
2 parents 0c3499c + d0bfc31 commit 1306db5

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

source/serverinit.sqf

+10-8
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,16 @@ game_master = ["player1"];publicVariable "game_master";
203203
_zones_create = {[50,0.2] execVM "initZones\locatorZonesV2.sqf"} remoteExec ["bis_fnc_spawn", game_master select 0]; // CHECK IF ZONES HAVE ALREADY BEEN PLACED
204204
};
205205
};
206-
206+
207+
//FIX ME: Execution Order requires zone bonus and reward be before WARCOM INIT
208+
if (isServer) then {
209+
// initialise the ressources per zone bonus
210+
_basepoint = [] execVM "zonesundercontrol.sqf";
211+
};
212+
213+
// init the bonuses you get when capturing zones
214+
_basepoint = [] execVM "zones_bonus.sqf";
215+
207216
waitUntil { !isNil "serv_zones_array" };
208217
diag_log format ["serv_zones_array: %1", serv_zones_array];
209218
_warcom_init = [serv_zones_array, getpos hq_blu1, [0,0,0], blufor_ap, opfor_ap, 2700,blufor_ai_skill,opfor_ai_skill, 2000] execVM "WARCOM\WARCOM_init.sqf"; // 2700 is 40 mins
@@ -221,13 +230,6 @@ if (isServer) then {
221230
};
222231

223232

224-
if (isServer) then {
225-
// initialise the ressources per zone bonus
226-
_basepoint = [] execVM "zonesundercontrol.sqf";
227-
};
228-
229-
// init the bonuses you get when capturing zones
230-
_basepoint = [] execVM "zones_bonus.sqf";
231233

232234
if (zones_manually_placed) then {
233235
waitUntil {!isNil ("Array_of_OPFOR_zones")};

source/zones_bonus.sqf

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[] spawn {
22
waitUntil {zoneundercontrolblu >= 1};
33
sleep 20;
4-
_sitrep = [player,"fob_support"] call BIS_fnc_addCommMenuItem;
5-
["info",["Establishing a FOB","Check the briefing for more info (RTI Manual)"]] call bis_fnc_showNotification;
4+
[player,"fob_support"] remoteExecCall ["BIS_fnc_addCommMenuItem", 0, true];
5+
//_sitrep = [player,"fob_support"] call BIS_fnc_addCommMenuItem;
6+
["info",["Establishing a FOB","Check the briefing for more info (RTI Manual)"]] remoteExecCall ["bis_fnc_showNotification", 0, true];
7+
//["info",["Establishing a FOB","Check the briefing for more info (RTI Manual)"]] call bis_fnc_showNotification;
68
sleep 2;
79
};

0 commit comments

Comments
 (0)