setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}}")
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.26|= Game version
|1.26|Game version=


|eff= global |= Effects in MP
|eff= global |Multiplayer Effects=


|exec= server |=
|serverExec= server |=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 16:
| '''setTimeMultiplier''' value|SYNTAX=
| '''setTimeMultiplier''' value|SYNTAX=


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




Line 45: Line 45:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Time_Functions|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Time|{{uc:{{PAGENAME}}}}]]

Revision as of 08:37, 13 July 2020

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

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