estimatedEndServerTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)\]\]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 11: Line 10:


|gr3= Multiplayer |GROUP3=
|gr3= Multiplayer |GROUP3=
____________________________________________________________________________________________


| Estimated end of MP game in seconds converted to [[serverTime]]. |DESCRIPTION=
| Estimated end of MP game in seconds converted to [[serverTime]]. |DESCRIPTION=
____________________________________________________________________________________________


| '''estimatedEndServerTime''' |SYNTAX=
| '''estimatedEndServerTime''' |SYNTAX=
Line 24: Line 21:
<code>_min = ([[ceil]] ([[estimatedEndServerTime]] - [[serverTime]]) / 60);</code>|EXAMPLE1=  
<code>_min = ([[ceil]] ([[estimatedEndServerTime]] - [[serverTime]]) / 60);</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[estimatedTimeLeft]], [[serverTime]] |SEEALSO=  
| [[estimatedTimeLeft]], [[serverTime]] |SEEALSO=  

Revision as of 02:15, 17 January 2021

Hover & click on the images for description

Description

Description:
Estimated end of MP game in seconds converted to serverTime.
Groups:
TimeMission InformationMultiplayer

Syntax

Syntax:
estimatedEndServerTime
Return Value:
Number - seconds left

Examples

Example 1:
Estimated minutes left: _min = (ceil (estimatedEndServerTime - serverTime) / 60);

Additional Information

See also:
estimatedTimeLeftserverTime

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

Notes

Bottom Section