setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
No edit summary
 
(23 intermediate revisions by 3 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 |Multiplayer Effects=
|gr1= Time


|gr1= Time |GROUP1=
|gr2= Mission Information
|gr2= Mission Information|GROUP2=
|gr3= Environment|GROUP3=


|serverExec= server |=
|gr3= Environment
____________________________________________________________________________________________


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


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


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


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


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]


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


|x1= <code>[[setTimeMultiplier]] 60;</code> |EXAMPLE1=
|x2= <sqf>setTimeMultiplier 0.5;</sqf>
|x2= <code>[[setTimeMultiplier]] 0.5;</code> |EXAMPLE2=


____________________________________________________________________________________________
|seealso= [[timeMultiplier]] [[skipTime]] [[setAccTime]] [[accTime]] [[time]] [[serverTime]] [[date]] [[dayTime]]
}}


|[[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]  |SEEALSO=
{{Note
 
|user= Hypoxic125
|mp= Server-side only in multi-player. |MPBEHAVIOUR=  
|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
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 18:08, 14 February 2023

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