Difference between revisions of "setTimeMultiplier"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{RV|type=command |
− | |||
− | | arma3 | | + | |game1= arma3 |
+ | |version1= 1.26 | ||
− | | | + | |eff= global |
− | | | + | |gr1= Time |
− | + | |gr2= Mission Information | |
− | |gr2= Mission Information | ||
− | |||
− | | | + | |gr3= Environment |
− | |||
− | | | + | |serverExec= server |
− | |||
− | | | + | |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 |
+ | |p1= value: [[Number]] - has to be in range from 0.1 to 120 | ||
− | | [[Nothing]] | + | |r1= [[Nothing]] |
+ | |x1= <sqf>setTimeMultiplier 60;</sqf> | ||
− | + | |x2= <sqf>setTimeMultiplier 0.5;</sqf> | |
− | |x2= < | ||
− | + | |seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]] [[time]] [[serverTime]] [[date]] [[dayTime]] | |
− | |||
− | |[[timeMultiplier]] | ||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 11:24, 13 May 2022
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:
- setTimeMultiplier 0.5;
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