setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
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...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.26|Game version=
|1.26


|eff= global |Multiplayer Effects=
|eff= global


|gr1= Time |GROUP1=
|gr1= Time
|gr2= Mission Information|GROUP2=
|gr2= Mission Information
|gr3= Environment|GROUP3=
|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. |DESCRIPTION=
| Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems.


| '''setTimeMultiplier''' value|SYNTAX=
| '''setTimeMultiplier''' value


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




| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>[[setTimeMultiplier]] 60;</code> |EXAMPLE1=
|x1= <code>[[setTimeMultiplier]] 60;</code>
|x2= <code>[[setTimeMultiplier]] 0.5;</code> |EXAMPLE2=
|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. |MPBEHAVIOUR=
|mp= Server-side only in multi-player.
}}
}}



Revision as of 11:09, 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