estimatedTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.34|Game version=
|1.34


|eff= global |Multiplayer Effects=
|eff= global


|serverExec= server |Server Execution=
|serverExec= server |Server Execution=


|gr1= Time |GROUP1=
|gr1= Time


|gr2= Mission Information |GROUP2=
|gr2= Mission Information


|gr3= Multiplayer |GROUP3=
|gr3= Multiplayer


| Sets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser.
| 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 without waiting for the next broadcast window (usually every 5 minutes).}} |DESCRIPTION=
{{Informative | This command will force the server to broadcast [[serverTime]] to all clients without waiting for the next broadcast window (usually every 5 minutes).}}


| [[estimatedTimeLeft]] seconds |SYNTAX=
| [[estimatedTimeLeft]] seconds


|p1= seconds: [[Number]] - estimated time in seconds (maximum 36000 (10 hours) since {{GVI|arma3|1.69}}, 7200 (2 hours) before) |PARAMETER1=
|p1= seconds: [[Number]] - estimated time in seconds (maximum 36000 (10 hours) since {{GVI|arma3|1.69}}, 7200 (2 hours) before)


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[[estimatedTimeLeft]] 600; {{cc|10 min}}</code> |EXAMPLE1=
|x1= <code>[[estimatedTimeLeft]] 600; {{cc|10 min}}</code>


|x2= '''OFP:''' for missions with a hard set limit adjusted via ''[[Description.ext#titleParam.25.2C_valuesParam.25.2C_defValueParam.25.2C_textParam.25|param1]]'', the following example can be used in the [[Event Scripts|init.sqs]] file:
|x2= '''OFP:''' for missions with a hard set limit adjusted via ''[[Description.ext#titleParam.25.2C_valuesParam.25.2C_defValueParam.25.2C_textParam.25|param1]]'', the following example can be used in the [[Event Scripts|init.sqs]] file:
<code>[[estimatedTimeLeft]] param1;</code>|EXAMPLE2=
<code>[[estimatedTimeLeft]] param1;</code>


| [[estimatedEndServerTime]], [[serverTime]] |SEEALSO=
| [[estimatedEndServerTime]], [[serverTime]]
}}
}}



Revision as of 00:38, 18 January 2021

Hover & click on the images for description

Description

Description:
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 force the server to broadcast serverTime to all clients without waiting for the next broadcast window (usually every 5 minutes).
Groups:
TimeMission InformationMultiplayer

Syntax

Syntax:
estimatedTimeLeft seconds
Parameters:
seconds: Number - estimated time in seconds (maximum 36000 (10 hours) since Arma 3 logo black.png1.69, 7200 (2 hours) 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

Bottom Section