setTimeMultiplier: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
Hypoxic125 (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 24: | Line 24: | ||
|x1= <sqf>setTimeMultiplier 60;</sqf> | |x1= <sqf>setTimeMultiplier 60;</sqf> | ||
|x2= < | |x2= <sqf>setTimeMultiplier 0.5;</sqf> | ||
|seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]] [[time]] [[serverTime]] [[date]] [[dayTime]] | |seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]] [[time]] [[serverTime]] [[date]] [[dayTime]] | ||
}} | |||
{{Note | |||
|user= Hypoxic125 | |||
|timestamp= 20230214170734 | |||
|text= '''timeMultiplier = 24 / IRL Hours per Game Day''' | |||
<br><br> | |||
Desired: 4 IRL Hours for Full In-Game Day | |||
<br> | |||
timeMultiplier = 24 / 4 | |||
<br> | |||
timeMultiplier = 6 | |||
}} | }} |
Latest revision as of 18:08, 14 February 2023
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:
- 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
- Posted on Feb 14, 2023 - 17:07 (UTC)
-
timeMultiplier = 24 / IRL Hours per Game Day
Desired: 4 IRL Hours for Full In-Game Day
timeMultiplier = 24 / 4
timeMultiplier = 6