Difference between revisions of "setTimeMultiplier"

From Bohemia Interactive Community
Jump to navigation Jump to search
(note deleted as command is now limited to 0.1 - 120)
m (range)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| 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. |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
| '''setTimeMultiplier''' value|= Syntax
 
| '''setTimeMultiplier''' value|= Syntax
  
|p1= value: [[Number]]. |= Parameter 1
+
|p1= value: [[Number]] (0.1-120) |= Parameter 1
  
  
Line 41: Line 41:
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
 +
 +
<!-- CONTINUE Notes -->
 +
<dl class="command_description">
 +
<dd class="notedate">Posted on September 23, 2014 - 02:54 (UTC)</dd>
 +
<dt class="note">[[User:Benargee|Benargee]]</dt>
 +
<dd class="note">
 +
Setting this value too high will cause performance issues. (A3 1.28)
 +
</dd>
 +
</dl>
 +
<!-- DISCONTINUE Notes -->
 +
 +
<!-- CONTINUE Notes -->
 +
<dl class="command_description">
 +
<dd class="notedate">Posted on October 26, 2014 - 05:01 (UTC)</dd>
 +
<dt class="note">[[User:POLPOX|POLPOX]]</dt>
 +
<dd class="note">
 +
<code>setTimeMultiplier 0;</code> will crash the game.<br/>
 +
setTimeMultiplier will works well at another mission.<br/>
 +
setTimeMultiplier < 0 will freeze the game for a short time at 30 minutes interval.<br/>
 +
(A3 1.32)
 +
</dd>
 +
</dl>
 +
<!-- DISCONTINUE Notes -->

Revision as of 22:56, 1 November 2014

Hover & click on the images for description

Description

Description:
Sets a time multiplier for in-game time.
Multiplayer:
Server-side only in multi-player and it works in single-player as well.
Groups:
Uncategorised

Syntax

Syntax:
setTimeMultiplier value
Parameters:
value: Number (0.1-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

Posted on September 23, 2014 - 02:54 (UTC)
Benargee
Setting this value too high will cause performance issues. (A3 1.28)
Posted on October 26, 2014 - 05:01 (UTC)
POLPOX
setTimeMultiplier 0; will crash the game.
setTimeMultiplier will works well at another mission.
setTimeMultiplier < 0 will freeze the game for a short time at 30 minutes interval.
(A3 1.32)