estimatedEndServerTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 16: Line 16:


| [[Number]] - seconds left
| [[Number]] - seconds left


|x1= Estimated minutes left:  
|x1= Estimated minutes left:  
<code>_min = ([[ceil]] ([[estimatedEndServerTime]] - [[serverTime]]) / 60);</code>
<code>_min = ([[ceil]] ([[estimatedEndServerTime]] - [[serverTime]]) / 60);</code>


| [[estimatedTimeLeft]], [[serverTime]]
| [[estimatedTimeLeft]], [[serverTime]]

Revision as of 17:20, 18 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