estimatedTimeLeft: Difference between revisions
Jump to navigation
Jump to search
m (removed note from description because it's already mentioned in p1) |
m (mp effect) |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | a3 |= Game name | ||
|1.34|= Game version | |1.34|= Game version | ||
Line 26: | Line 26: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|mp= | |mp= Has to be executed on the server. Effect is global. |= | ||
| [[estimatedEndServerTime]], [[serverTime]] |= See also | | [[estimatedEndServerTime]], [[serverTime]] |= See also |
Revision as of 14:50, 13 May 2018
Description
- Description:
- Sets the estimated time left in the game. Using this function the designer can provide a "time left" estimate that is shown in the "Game in progress" screen or in the master browser. This command works in MP only and must be executed on the server only.
- Multiplayer:
- Has to be executed on the server. Effect is global.
- Groups:
- Uncategorised
Syntax
- Syntax:
- estimatedTimeLeft seconds
- Parameters:
- seconds: Number - estimated time in seconds (7200 sec max, since 1.69 the limit is 36000 seconds).
- Return Value:
- Nothing
Examples
- Example 1:
estimatedTimeLeft 600; //10 min
- Example 2:
- 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.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Mission Information
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters