Difference between revisions of "setTimeMultiplier"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (named params)
Line 1: Line 1:
 
{{RV|type=command
 
{{RV|type=command
  
| arma3
+
|game1= arma3
  
|1.26
+
|version1= 1.26
  
 
|eff= global
 
|eff= global
  
 
|gr1= Time
 
|gr1= Time
 +
 
|gr2= Mission Information
 
|gr2= Mission Information
 +
 
|gr3= Environment
 
|gr3= Environment
  
 
|serverExec= server
 
|serverExec= server
  
| Sets a time multiplier for in-game time. The command range is now 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.
  
| '''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
  
| [[Nothing]]
+
|r1= [[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]]
+
|seealso= [[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]
 
 
|mp= Server-side only in multi-player.
 
 
}}
 
}}
 
 
{{GameCategory|arma3|New Scripting Commands}}
 
{{GameCategory|arma3|Scripting Commands}}
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 

Revision as of 10:13, 19 February 2021

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:
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