Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeAcceleration #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion A3-Antistasi/CREATE/createAIcontroles.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ if (_conquistado) then
_indice = controles find _marcador;
if (_indice > defaultControlIndex) then
{
_tiempolim = 120;//120
_tiempolim = (120*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
waitUntil {sleep 60;(dateToNumber date > _fechalimnum)};
Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/AS_Oficial.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"AS",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -72,7 +72,7 @@ if (_dificil) then
_lado = if (lados getVariable [_marcador,sideUnknown] == malos) then {malos} else {muyMalos};
_posicion = getMarkerPos _marcador;

_tiempolim = if (_dificil) then {15} else {30};//120
_tiempolim = if (_dificil) then {(15*WorldTimeAcc)} else {(30*WorldTimeAcc)};//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/AS_Traidor.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"AS",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -67,7 +67,7 @@ if (_dificil) then
};
_posicion = getMarkerPos _marcador;

_tiempolim = if (_dificil) then {15} else {60};
_tiempolim = if (_dificil) then {(15*WorldTimeAcc)} else {(60*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/AS_specOP.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"AS",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -73,7 +73,7 @@ if (_dificil) then

_posicion = getMarkerPos _marcador;
_lado = if (lados getVariable [_marcador,sideUnknown] == malos) then {malos} else {muyMalos};
_tiempolim = if (_dificil) then {60} else {120};
_tiempolim = if (_dificil) then {(60*WorldTimeAcc)} else {(120*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
6 changes: 3 additions & 3 deletions A3-Antistasi/Missions/CONVOY.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (_dificil) then
if (_ciudad == "") exitWith {_dificil = false};
_contacto = _result select 1;
_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"CONVOY",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -93,7 +93,7 @@ _tipogrupo = "";
_tiposConvoy = [];
_posHQ = getMarkerPos respawnBuenos;

_tiempofin = 120;
_tiempofin = (120*WorldTimeAcc);
_fechafin = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempofin];
_fechafinNum = dateToNumber _fechafin;

Expand Down Expand Up @@ -121,7 +121,7 @@ else
_tipoConvoy = selectRandom _tiposConvoy;

_tiempolim = if (_dificil) then {0} else {round random 10};// tiempo para que salga el convoy, deberíamos poner un round random 15
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + (_tiempolim*WorldTimeAcc)];
_fechalimnum = dateToNumber _fechalim;

_nombredest = [_destino] call localizar;
Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/CON_Puestos.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"CON",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -68,7 +68,7 @@ if (_dificil) then
};

_posicion = getMarkerPos _marcador;
_tiempolim = if (_dificil) then {30} else {90};//120
_tiempolim = if (_dificil) then {(30*WorldTimeAcc)} else {(90*WorldTimeAcc)};//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/DES_Antena.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"DES",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -71,7 +71,7 @@ if (_dificil) then
_nombredest = [_marcador] call localizar;
_posicion = getPos _antena;

_tiempolim = if (_dificil) then {30} else {120};
_tiempolim = if (_dificil) then {(30*WorldTimeAcc)} else {(120*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/DES_Heli.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"DES",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -71,7 +71,7 @@ _posicion = getMarkerPos _marcador;
_lado = if (lados getVariable [_marcador,sideUnknown] == malos) then {malos} else {muyMalos};
_posHQ = getMarkerPos respawnBuenos;

_tiempolim = 120;
_tiempolim = (120*WorldTimeAcc);
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
_ang = random 360;
Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/DES_Vehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"DES",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -68,7 +68,7 @@ if (_dificil) then
};
_posicion = getMarkerPos _marcador;
_lado = if (lados getVariable [_marcador,sideUnknown] == malos) then {malos} else {muyMalos};
_tiempolim = if (_dificil) then {30} else {120};
_tiempolim = if (_dificil) then {(30*WorldTimeAcc)} else {(120*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
_nombredest = [_marcador] call localizar;
Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/LOG_Ammo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"LOG",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -69,7 +69,7 @@ if (_dificil) then

_posicion = getMarkerPos _marcador;
_lado = if (lados getVariable [_marcador,sideUnknown] == malos) then {malos} else {muyMalos};
_tiempolim = if (_dificil) then {30} else {60};
_tiempolim = if (_dificil) then {(30*WorldTimeAcc)} else {(60*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/LOG_Bank.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (_dificil) then
if (_ciudad == "") exitWith {_dificil = false};
_contacto = _result select 1;
_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim =(30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"LOG",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -69,7 +69,7 @@ _posicion = getPosASL _banco;

_posbase = getMarkerPos respawnBuenos;

_tiempolim = if (_dificil) then {60} else {120};
_tiempolim = if (_dificil) then {(60*WorldTimeAcc)} else {(120*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/LOG_Suministros.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"LOG",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -67,7 +67,7 @@ if (_dificil) then
};
_posicion = getMarkerPos _marcador;

_tiempolim = if (_dificil) then {30} else {60};
_tiempolim = if (_dificil) then {(30*WorldTimeAcc)} else {(60*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
_nombredest = [_marcador] call localizar;
Expand Down
2 changes: 1 addition & 1 deletion A3-Antistasi/Missions/REP_Antena.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ private ["_marcador","_posicion","_fechalim","_fechalimnum","_nombredest","_cami
_marcador = _this select 0;
_posicion = _this select 1;

_tiempolim = 60;
_tiempolim = (60*WorldTimeAcc);
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
_nombredest = [_marcador] call localizar;
Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/RES_Prisioneros.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 15;//120
_tiempolim = (15*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"RES",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -71,7 +71,7 @@ _posicion = getMarkerPos _marcador;

_POWs = [];

_tiempolim = if (_dificil) then {30} else {120};//120
_tiempolim = if (_dificil) then {(30*WorldTimeAcc)} else {(120*WorldTimeAcc)};//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;

Expand Down
4 changes: 2 additions & 2 deletions A3-Antistasi/Missions/RES_Refugiados.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (_dificil) then
_contacto = _result select 1;

_nombredest = [_ciudad] call localizar;
_tiempolim = 30;//120
_tiempolim = (30*WorldTimeAcc);//120
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"RES",[format ["An informant is awaiting for you in %1. Go there before %2:%3. He will provide you some info on our next task",_nombredest,numberToDate [2035,_fechalimnum] select 3,numberToDate [2035,_fechalimnum] select 4],"Contact Informer",_ciudad],position _contacto,false,0,true,"talk",true] call BIS_fnc_taskCreate;
Expand Down Expand Up @@ -83,7 +83,7 @@ while {count _poscasa < 3} do


_nombredest = [_marcador] call localizar;
_tiempolim = if (_dificil) then {30} else {60};
_tiempolim = if (_dificil) then {(30*WorldTimeAcc)} else {(60*WorldTimeAcc)};
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + _tiempolim];
_fechalimnum = dateToNumber _fechalim;
_lado = if (lados getVariable [_marcador,sideUnknown] == malos) then {malos} else {muyMalos};
Expand Down
2 changes: 1 addition & 1 deletion A3-Antistasi/crearPuestosFIA.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (_escarretera) then
_mrk = createMarker [format ["FIAPost%1", random 1000], _posicionTel];
_mrk setMarkerShape "ICON";

_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + 60];
_fechalim = [date select 0, date select 1, date select 2, date select 3, (date select 4) + (60*WorldTimeAcc)];
_fechalimnum = dateToNumber _fechalim;
[[buenos,civilian],"PuestosFIA",["We are sending a team to establish a Watchpost/Roadblock. Use HC to send the team to their destination","Post \ Roadblock Deploy",_mrk],_posicionTel,false,0,true,"Move",true] call BIS_fnc_taskCreate;
//_tsk = ["PuestosFIA",[buenos,civilian],["We are sending a team to establish a Watchpost/Roadblock. Use HC to send the team to their destination","Post \ Roadblock Deploy",_mrk],_posicionTel,"CREATED",5,true,true,"Move"] call BIS_fnc_setTask;
Expand Down
6 changes: 6 additions & 0 deletions A3-Antistasi/description.ext
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ class Params
default = 1;
//file = "setViewDistance.sqf"; // (Optional) Script [[call]]ed when player joins, selected value is passed as an argument
};
class timeMultiplier {
title = "Time Multiplier";
values[] = {1,2,3,4,5,6};
texts[] = {"1x","2x","3x","4x","5x","6x"};
default = 1;
};
};

class CfgIdentities
Expand Down
4 changes: 4 additions & 0 deletions A3-Antistasi/initServer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ diag_log "Antistasi MP Server. Funcs init finished";
_nul = call compile preprocessFileLineNumbers "initZones.sqf";
diag_log "Antistasi MP Server. Zones init finished";

WorldTimeAcc = ["timeMultiplier",1] call BIS_fnc_getParamValue; //Time Acceleration with default value of 1 if the value can't be found (why wouldn't it tho?)
setTimeMultiplier WorldTimeAcc; //Setting Time Acceleration
diag_log "Antistasi MP Server. Time acceleration set";

[] execVM "initPetros.sqf";
["Initialize"] call BIS_fnc_dynamicGroups;//Exec on Server
waitUntil {(count playableUnits) > 0};
Expand Down
6 changes: 3 additions & 3 deletions A3-Antistasi/undercover.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ switch _cambiar do
}
else
{
_player setVariable ["compromised",(dateToNumber [date select 0, date select 1, date select 2, date select 3, (date select 4) + 30])];
_player setVariable ["compromised",(dateToNumber [date select 0, date select 1, date select 2, date select 3, (date select 4) + (30*WorldTimeAcc)])];
};
};
case "VNoCivil": {hint "You entered a non civilian vehicle"};
Expand All @@ -208,7 +208,7 @@ switch _cambiar do
case "Vestido2":
{
hint "You cannot stay Undercover while showing:\n\nA weapon is visible\nWearing a vest\nWearing a helmet\nWearing NVGs\nWearing a mil uniform\n\nThe enemy added you to their Wanted List";
_player setVariable ["compromised",dateToNumber [date select 0, date select 1, date select 2, date select 3, (date select 4) + 30]];
_player setVariable ["compromised",dateToNumber [date select 0, date select 1, date select 2, date select 3, (date select 4) + (30*WorldTimeAcc)]];
};
case "Compromised": {hint "You left your vehicle and you are still on the Wanted List"};
case "Distancia":
Expand All @@ -222,7 +222,7 @@ switch _cambiar do
}
else
{
_player setVariable ["compromised",(dateToNumber [date select 0, date select 1, date select 2, date select 3, (date select 4) + 30])];
_player setVariable ["compromised",(dateToNumber [date select 0, date select 1, date select 2, date select 3, (date select 4) + (30*WorldTimeAcc)])];
};
};
case "NoFly":
Expand Down