estimatedTimeLeft: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#E|COMREF]]
<h2 style="color:#000066">'''estimatedTimeLeft ''timeLeft'''''</h2>
<h2 style="color:#000066">'''estimatedTimeLeft ''timeLeft'''''</h2>


'''Operand types:'''
'''Operand types:'''


timeLeft: [[Number]]
'''timeLeft:''' [[Number]]


'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Description:'''
'''Description:'''


Estimated time left in the game.
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.
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.
 
For missions with hard set limit adjusted via '''Param1''', following example can be used in '''''init.sqs'''''.
 


'''Example:'''
'''Example:'''


'''estimatedTimeLeft''' Param1
'''estimatedTimeLeft''' '''''Param1'''''

Revision as of 04:18, 16 April 2006

back to COMREF

estimatedTimeLeft timeLeft


Operand types:

timeLeft: Number

Type of returned value:

Nothing

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