estimatedEndServerTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(example, see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 18: Line 18:
|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


| [[Number]] |= RETURNVALUE  
| [[Number]] - seconds left |= RETURNVALUE  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 02:14, 30 July 2014

Hover & click on the images for description

Description

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

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