estimatedTimeLeft

From Bohemia Interactive Community
Jump to navigation Jump to 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 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).

Syntax

Syntax:
estimatedTimeLeft seconds
Parameters:
seconds: Number - estimated time in seconds (maximum 36000 (10 hours) since
Introduced with Arma 3 version 1.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

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