setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(there is no argument just effect)
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.26


|1.26|= Game version
|eff= global


|eff= global |= Effects in MP
|gr1= Time
____________________________________________________________________________________________


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


| '''setTimeMultiplier''' value|= Syntax
|gr3= Environment


|p1= value: [[Number]]. |= Parameter 1
|serverExec= server


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


| [[Nothing]] |= RETURNVALUE
|s1= [[setTimeMultiplier]] value


|p1= value: [[Number]] - has to be in range from 0.1 to 120


|x1= <code>[[setTimeMultiplier]] 60;</code> |= Example 1
|r1= [[Nothing]]
|x2= <code>[[setTimeMultiplier]] 0.5;</code> |= Example 2


____________________________________________________________________________________________
|x1= <sqf>setTimeMultiplier 60;</sqf>


|[[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]  |= SEEALSO
|x2= <sqf>setTimeMultiplier 0.5;</sqf>


|mp= Server-side only in multi-player. |= MPBEHAVIOUR
|seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]] [[time]] [[serverTime]] [[date]] [[dayTime]]
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]

Revision as of 11:24, 13 May 2022

Hover & click on the images for description

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