Difference between revisions of "setTimeMultiplier"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 26: Line 26:
 
|x2= <code>[[setTimeMultiplier]] 0.5;</code>
 
|x2= <code>[[setTimeMultiplier]] 0.5;</code>
  
|seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]], [[time]], [[serverTime]], [[date]], [[dayTime]]
+
|seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]] [[time]], [[serverTime]], [[date]], [[dayTime]]
 
}}
 
}}

Revision as of 19:18, 20 January 2022

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 - 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:
timeMultiplier skipTime setAccTime accTime timeserverTimedatedayTime

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