setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
No edit summary
mNo edit summary
 
Line 18: Line 18:
|s1= [[setTimeMultiplier]] value
|s1= [[setTimeMultiplier]] value


|p1= value: [[Number]] - has to be in range from 0.1 to 120
|p1= value: [[Number]] in range 0.1 .. 120


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 10:44, 4 April 2026

Hover & click on the images for description

Description

Description:
Sets a time multiplier for in-game time. The command range is capped at 0.1 - 120 to avoid performance problems.
Groups:
TimeMission InformationEnvironment

Syntax

Syntax:
setTimeMultiplier value
Parameters:
value: Number in range 0.1 .. 120
Return Value:
Nothing

Examples

Example 1:
setTimeMultiplier 60;
Example 2:
setTimeMultiplier 0.5;

Additional Information

See also:
timeMultiplier skipTime setAccTime accTime time serverTime date dayTime

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
Hypoxic125 - c
Posted on Feb 14, 2023 - 17:07 (UTC)
timeMultiplier = 24 / IRL Hours per Game Day

Desired: 4 IRL Hours for Full In-Game Day
timeMultiplier = 24 / 4
timeMultiplier = 6