estimatedTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (-_-)
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| a3 |Game name=
| ofp |Game name=


|1.34|Game version=
|1.34|Game version=
Line 8: Line 8:
|eff= global |Multiplayer Effects=
|eff= global |Multiplayer Effects=


|exec= server |Server Execution=
|serverExec= server |Server Execution=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 44: Line 44:
[[Category:Scripting Commands OFP 1.96|{{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 Armed Assault|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{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}}}}]]
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]

Revision as of 20:18, 3 June 2020

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

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

Notes

Bottom Section