estimatedTimeLeft

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.34
  Effects of this scripting command are broadcasted over the network and happen on every computer in the networkThis scripting command must be executed on the server to work properly in multiplayer

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.34

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. NOTE that since Arma 3 v1.69 the max value that can be set is 10 hours (36000 seconds)

Syntax

Syntax:
estimatedTimeLeft seconds
Parameters:
seconds: Number - estimated time in seconds (7200 sec max, since Arma 3 v1.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

Multiplayer:
Server execution
See also:
estimatedEndServerTimeserverTime

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section