2015-08-28 16:37:23 +00:00
|
|
|
/*
|
|
|
|
Launches mission functions
|
|
|
|
Made for Defent for Defents Mission System
|
|
|
|
And for Numenadayz.com
|
|
|
|
Written by eraser1
|
|
|
|
*/
|
2015-08-27 07:44:23 +00:00
|
|
|
|
|
|
|
RESISTANCE setFriend[WEST,0];
|
|
|
|
WEST setFriend[RESISTANCE,0];
|
|
|
|
RESISTANCE setFriend[EAST,0];
|
|
|
|
EAST setFriend[RESISTANCE,0];
|
|
|
|
EAST setFriend[WEST,0];
|
|
|
|
WEST setFriend[EAST,0];
|
|
|
|
|
2015-09-20 20:26:08 +00:00
|
|
|
if ((!isNil "A3XAI_isActive") && {!DMS_ai_offload_Only_DMS_AI}) then
|
|
|
|
{
|
|
|
|
diag_log 'DMS DETECTED A3XAI. Enabling "DMS_ai_offload_Only_DMS_AI"!';
|
2015-09-20 20:30:21 +00:00
|
|
|
DMS_ai_offload_Only_DMS_AI = true;
|
2015-09-20 20:26:08 +00:00
|
|
|
};
|
|
|
|
|
2015-09-03 06:44:56 +00:00
|
|
|
|
|
|
|
if(DMS_StaticMission) then
|
|
|
|
{
|
2015-08-28 16:37:23 +00:00
|
|
|
call compileFinal preprocessFileLineNumbers "\x\addons\dms\static\static_init.sqf";//<---- TODO
|
2015-08-27 07:44:23 +00:00
|
|
|
};
|
|
|
|
|
2015-09-03 06:44:56 +00:00
|
|
|
if (DMS_DynamicMission) then
|
|
|
|
{
|
2015-10-04 03:32:42 +00:00
|
|
|
DMS_AttemptsUntilThrottle = DMS_AttemptsUntilThrottle + 1;
|
2015-10-05 03:27:22 +00:00
|
|
|
|
|
|
|
DMS_CLIENT_fnc_spawnDynamicText =
|
|
|
|
{
|
|
|
|
[
|
|
|
|
_this,
|
|
|
|
0,
|
|
|
|
safeZoneY,
|
|
|
|
10,
|
|
|
|
1
|
|
|
|
] spawn BIS_fnc_dynamicText;
|
|
|
|
};
|
|
|
|
|
|
|
|
publicVariable "DMS_CLIENT_fnc_spawnDynamicText";
|
|
|
|
|
2015-08-29 01:08:45 +00:00
|
|
|
call compileFinal preprocessFileLineNumbers "\x\addons\dms\missions\mission_init.sqf";
|
2015-08-29 02:00:20 +00:00
|
|
|
execFSM "\x\addons\dms\FSM\missions.fsm";
|
|
|
|
};
|