setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 85934 by POLPOX (talk) this has been already fixed on DEV, it sets it 0.1 when 0 is used)
(note deleted as command is now limited to 0.1 - 120)
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
____________________________________________________________________________________________
____________________________________________________________________________________________


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

Revision as of 09:30, 26 October 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 and it works in single-player as well.
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