setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - " {3,}\|" to " |")
Line 18: Line 18:


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


| [[Nothing]]
| [[Nothing]]


|x1= <code>[[setTimeMultiplier]] 60;</code>
|x1= <code>[[setTimeMultiplier]] 60;</code>
|x2= <code>[[setTimeMultiplier]] 0.5;</code>
|x2= <code>[[setTimeMultiplier]] 0.5;</code>


|[[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]
|[[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]

Revision as of 18:59, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems.
Multiplayer:
Server-side only in multi-player.
Groups:
TimeMission InformationEnvironment

Syntax

Syntax:
setTimeMultiplier value
Parameters:
value: Number - has to be in range from 0.1 to 120
Return Value:
Nothing

Examples

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

Additional Information

See also:
timeMultiplierskipTimesetAccTimeaccTimetimeserverTimedatedaytime

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note