estimatedTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|E]]
[[Category:Scripting Commands ArmA|E]]


back to [[Scripting_Reference#E|COMREF]]


<h2 style="color:#000066">'''estimatedTimeLeft ''timeLeft'''''</h2>
<h2 style="color:#000066">'''estimatedTimeLeft ''timeLeft'''''</h2>

Revision as of 11:59, 23 April 2006


estimatedTimeLeft timeLeft


Operand types:

timeLeft: Number

Type of returned value:

Nothing

Compatibility:

Added in version 1.34

Description:

Estimated time left in the game.

Using this function, designer can provide timeleft estimate that is shown in "Game in progress" screen or in master browser.

For missions with hard set limit adjusted via Param1, following example can be used in init.sqs.


Example:

estimatedTimeLeft Param1