Time
15 scripting commands. Also as Markdown for agents.
- accTimeReturns the current simulation acceleration factor.
- dayTimeReturns the current in-game time in hours. For a formatted version of time, see BIS_fnc_timeToString.
- diag_deltaTimeReturns the duration of the previous frame in seconds
- diag_tickTimeReal time in seconds spent from the start of the game. On Windows the command uses timeGetTime.
- estimatedEndServerTimeEstimated end of MP game in seconds converted to serverTime.
- estimatedTimeLeftSets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser.
- serverTimeReturns the time since latest server (re)start in seconds.
- setAccTimeSet simulation acceleration coefficient. May also be used to slow time in cutscenes.
- setTimeMultiplierSets a time multiplier for in-game time. The command range is capped at 0.1 - 120 to avoid performance problems.
- skipTimeJumps the specified number of hours forward or backward. The time of day and tides are adjusted, but no changes are made to any units.
- systemTimeReturns system time.
- systemTimeUTCReturns systemTime according to Universal Time Coordinated time scale.
- timeReturns time elapsed since mission started (in seconds). The value is different on each client. If you need unified time, use serverTime. Unlike…
- timeMultiplierReturns the value set with setTimeMultiplier.
- uiTimeReturns UI time elapsed since mission started (in seconds). Unlike time the uiTime does not stop when game is paused.