estimatedEndServerTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) |
||
Line 28: | Line 28: | ||
<code>_min = ([[ceil]] ([[estimatedEndServerTime]] - [[serverTime]]) / 60);</code> | <code>_min = ([[ceil]] ([[estimatedEndServerTime]] - [[serverTime]]) / 60);</code> | ||
|seealso= [[estimatedTimeLeft]] | |seealso= [[estimatedTimeLeft]] [[serverTime]] | ||
}} | }} |
Revision as of 15:41, 20 January 2022
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:
- estimatedTimeLeft serverTime
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
Categories:
- Scripting Commands
- Introduced with Arma 2 version 1.00
- Arma 2: New Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Time
- Command Group: Mission Information
- Command Group: Multiplayer