Faster night or day cycles - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki

Allows the mission maker to make time go faster between certain times.

Place the following code to postInitServer.sqf

if (!isServer) exitWith {};
while {true} do
{
	if (daytime >= 20 || daytime < 5) then
	{
		setTimeMultiplier 25
	}
	else
	{
		setTimeMultiplier 1
	};
	uiSleep 30;
};
  • daytime >= 20 || daytime < 5 - The time from when the faster time cycle should stop and end, i.e 20 = 8pm, 5 = 5am.
  • setTimeMultiplier 25 - How fast you want the time cycle to be.
  • setTimeMultiplier 1- (Optional) If you would still like time to be faster outside of the above hours, but not 25x fast, change 1 to your desired speed.