setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Trimmed redundant lines in MP description)
m (Undo revision 86075 by Benargee (talk))
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets a time multiplier for in-game time. |= Description
| Sets a time multiplier for in-game time. The command range is now capped at 0.1 - 120 to avoid performance problems. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''setTimeMultiplier''' value|= Syntax
| '''setTimeMultiplier''' value|= Syntax


|p1= value: [[Number]] (0.1-120) |= Parameter 1
|p1= value: [[Number]]. |= 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 00:38, 2 November 2014

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.
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