estimatedTimeLeft: Difference between revisions
m (formatting) |
Lou Montana (talk | contribs) m (Text replacement - " ''via'' " to " via ") |
||
(16 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= ofp | |game1= ofp | ||
|version1= 1.35 | |version1= 1.35 | ||
|game2= ofpe | |game2= ofpe | ||
|version2= 1.00 | |version2= 1.00 | ||
|game3= arma1 | |game3= arma1 | ||
|version3= 1.00 | |version3= 1.00 | ||
|game4= arma2 | |game4= arma2 | ||
|version4= 1.00 | |version4= 1.00 | ||
|game5= arma2oa | |game5= arma2oa | ||
|version5= 1.50 | |||
|version5= 1. | |||
|game6= tkoh | |game6= tkoh | ||
|version6= 1.00 | |version6= 1.00 | ||
|game7= arma3 | |game7= arma3 | ||
|version7= 0.50 | |version7= 0.50 | ||
Line 40: | Line 33: | ||
|descr= Sets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser. | |descr= Sets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser. | ||
{{Feature | | {{Feature|informative|This command will force the server to broadcast [[serverTime]] to all clients without waiting for the next broadcast window (usually every 5 minutes).}} | ||
|s1= [[estimatedTimeLeft]] seconds | |s1= [[estimatedTimeLeft]] seconds | ||
|p1= seconds: [[Number]] - | |p1= seconds: [[Number]] - estimated time in seconds, max 36000 (10 hours), 7200 (2 hours) before {{GVI|arma3|1.70|size= 0.75}} | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x2= '''{{ofp}}:''' for missions with a hard set limit adjusted via | |x1= <sqf>estimatedTimeLeft 600; // 10 min</sqf> | ||
< | |||
|x2= '''{{ofp}}:''' for missions with a hard set limit adjusted via {{Link|Description.ext#param1/param2|param1}}, the following example can be used in the [[Event Scripts#init.sqs|init.sqs]] file: | |||
<sqs>estimatedTimeLeft param1</sqs> | |||
|seealso= [[estimatedEndServerTime]] | |seealso= [[estimatedEndServerTime]] [[serverTime]] | ||
}} | }} |
Latest revision as of 12:43, 21 February 2025
Description
- Description:
- Sets the estimated time left in the game that is shown in the "Game in progress" screen or in the master browser.
- Groups:
- TimeMission InformationMultiplayer
Syntax
- Syntax:
- estimatedTimeLeft seconds
- Parameters:
- seconds: Number - estimated time in seconds, max 36000 (10 hours), 7200 (2 hours) before
1.70
- Return Value:
- Nothing
Examples
- Example 1:
- estimatedTimeLeft 600; // 10 min
- Example 2:
- Operation Flashpoint: 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:
- estimatedEndServerTime serverTime
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.35
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Time
- Command Group: Mission Information
- Command Group: Multiplayer
- Scripting Commands: Global Effect
- Scripting Commands: Server Execution