a3_exile_occupation/scripts/occupationFastNights.sqf
second_coming abd4462132 v25 updates & fixes
added fastNights, configurable gear for both bandits and survivors,
static spawning for both bandit and survivors
2016-04-20 15:25:17 +01:00

18 lines
567 B
Plaintext

private["_timeMultiplier"];
if (daytime > SC_fastNightsStarts || daytime < SC_fastNightsEnds) then
{
_timeMultiplier = SC_fastNightsMultiplierNight;
}
else
{
_timeMultiplier = SC_fastNightsMultiplierDay;
};
if(timeMultiplier != _timeMultiplier) then { setTimeMultiplier _timeMultiplier; };
_hour = floor daytime;
_minute = floor ((daytime - _hour) * 60);
_time24 = text format ["%1:%2",_hour,_minute];
_logDetail = format ["[OCCUPATION:FastNights]:: Current in game time is %1 multipler is %2",_time24,_timeMultiplier];
[_logDetail] call SC_fnc_log;