Difference between revisions of "setTimeMultiplier"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
 
{{Command|Comments=
 
{{Command|Comments=
____________________________________________________________________________________________
 
  
 
| arma3 |Game name=
 
| arma3 |Game name=
Line 13: Line 12:
  
 
|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. |DESCRIPTION=
 
| Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems. |DESCRIPTION=
____________________________________________________________________________________________
 
  
 
| '''setTimeMultiplier''' value|SYNTAX=
 
| '''setTimeMultiplier''' value|SYNTAX=
Line 29: Line 26:
 
|x2= <code>[[setTimeMultiplier]] 0.5;</code> |EXAMPLE2=
 
|x2= <code>[[setTimeMultiplier]] 0.5;</code> |EXAMPLE2=
  
____________________________________________________________________________________________
 
  
 
|[[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]  |SEEALSO=
 
|[[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]  |SEEALSO=
  
 
|mp= Server-side only in multi-player. |MPBEHAVIOUR=  
 
|mp= Server-side only in multi-player. |MPBEHAVIOUR=  
____________________________________________________________________________________________
 
 
}}
 
}}
  

Revision as of 03:05, 17 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

Notes

Bottom Section