Difference between revisions of "setTimeMultiplier"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(11 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
|descr= Sets a time multiplier for in-game time. The command range is capped at 0.1 - 120 to avoid performance problems.
 
|descr= Sets a time multiplier for in-game time. The command range is capped at 0.1 - 120 to avoid performance problems.
  
|s1= '''setTimeMultiplier''' value
+
|s1= [[setTimeMultiplier]] value
  
 
|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
Line 22: Line 22:
 
|r1= [[Nothing]]
 
|r1= [[Nothing]]
  
|x1= <code>[[setTimeMultiplier]] 60;</code>
+
|x1= <sqf>setTimeMultiplier 60;</sqf>
  
|x2= <code>[[setTimeMultiplier]] 0.5;</code>
+
|x2= <sqf>setTimeMultiplier 0.5;</sqf>
  
|seealso= [[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]
+
|seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]] [[time]] [[serverTime]] [[date]] [[dayTime]]
 
}}
 
}}

Revision as of 11:24, 13 May 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:
Example 2:

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 or on the Forums.
Only post proven facts here! Add Note