estimatedTimeLeft: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|exec= server |= " to "|exec= server |Server Execution= ") |
Lou Montana (talk | contribs) m (Fix description) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser. This command will | | Sets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser. | ||
{{Informative This command will force the server to broadcast [[serverTime]] to all clients ASAP without waiting for the next broadcast window (usually every 5 minutes.}} |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[estimatedTimeLeft]] seconds |SYNTAX= | ||
|p1= seconds: [[Number]] - estimated time in seconds ( | |p1= seconds: [[Number]] - estimated time in seconds (36000 since {{GVI|arma3|1.69}}, 7200 before) |PARAMETER1= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[estimatedTimeLeft]] 600; | |x1= <code>[[estimatedTimeLeft]] 600; {{cc|10 min}}</code> |EXAMPLE1= | ||
|x2= | |x2= '''OFP:''' for missions with a hard set limit adjusted via Param1, the following example can be used in the init.sqs file: | ||
<code>[[estimatedTimeLeft]] Param1;</code>|EXAMPLE2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[estimatedEndServerTime]], [[serverTime]] |SEEALSO= | | [[estimatedEndServerTime]], [[serverTime]] |SEEALSO= | ||
}} | }} | ||
Line 41: | Line 40: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]] |
Revision as of 00:08, 12 September 2019
Description
- Description:
- Sets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser. {{Informative This command will force the server to broadcast serverTime to all clients ASAP without waiting for the next broadcast window (usually every 5 minutes.}}
- Groups:
- Uncategorised
Syntax
- Syntax:
- estimatedTimeLeft seconds
- Parameters:
- seconds: Number - estimated time in seconds (36000 since 1.69, 7200 before)
- Return Value:
- Nothing
Examples
- Example 1:
estimatedTimeLeft 600; // 10 min
- Example 2:
- OFP: for missions with a hard set limit adjusted via Param1, the following example can be used in the init.sqs file:
estimatedTimeLeft Param1;
Additional Information
- See also:
- estimatedEndServerTimeserverTime
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
[[Category:Introduced with a3 version 1.34]][[ Category: a3: New Scripting Commands | ESTIMATEDTIMELEFT]][[ Category: a3: Scripting Commands | ESTIMATEDTIMELEFT]]
Notes
Bottom Section
Categories:
- Name template usage error
- Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Mission Information