estimatedTimeLeft: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
Line 46: | Line 46: | ||
|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: | ||
< | <sqf>estimatedTimeLeft param1;</sqf> | ||
|seealso= [[estimatedEndServerTime]] [[serverTime]] | |seealso= [[estimatedEndServerTime]] [[serverTime]] | ||
}} | }} |
Revision as of 13:17, 5 May 2022
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. Maximum value:
- Prior to Arma 3 v1.70: 7200 seconds (2 hours)
- Since Arma 3 v1.70: 36000 (10 hours)
- 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