<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3ACurrentEventsGetTimers</id>
	<title>API:CurrentEventsGetTimers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3ACurrentEventsGetTimers"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:CurrentEventsGetTimers&amp;action=history"/>
	<updated>2026-10-17T11:08:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.returnofreckoning.com/index.php?title=API:CurrentEventsGetTimers&amp;diff=30271&amp;oldid=prev</id>
		<title>Maintenance script: UI Lua API import (WAR 1.4.8)</title>
		<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:CurrentEventsGetTimers&amp;diff=30271&amp;oldid=prev"/>
		<updated>2026-10-16T19:41:55Z</updated>

		<summary type="html">&lt;p&gt;UI Lua API import (WAR 1.4.8)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LuaApi|group=LiveEvent}}&lt;br /&gt;
Returns the two jump-cooldown timers of the Current Events window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
playerCooldown, cooldownLength = CurrentEventsGetTimers()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;playerCooldown : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – The stock UI treats this as the player&amp;#039;s remaining jump cooldown in seconds; &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; means the player can jump.&lt;br /&gt;
;cooldownLength : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – The stock UI treats this as the length of the jump cooldown in seconds, and shows it in minutes.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* Both values are stored as single-precision floats and returned as numbers.&lt;br /&gt;
* If the current-events data is not available, the function returns nothing.&lt;br /&gt;
* The stock UI uses the same function, &amp;lt;code&amp;gt;EA_Window_CurrentEvents.OnJumpTimerUpdated&amp;lt;/code&amp;gt;, to handle this function&amp;#039;s result and the &amp;lt;code&amp;gt;SystemData.Events.CURRENT_EVENTS_JUMP_TIMER_UPDATED&amp;lt;/code&amp;gt; event.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;default/ea_currenteventswindow/source/currenteventswindow.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
EA_Window_CurrentEvents.OnJumpTimerUpdated( CurrentEventsGetTimers() )&lt;br /&gt;
...&lt;br /&gt;
function EA_Window_CurrentEvents.OnJumpTimerUpdated( playerCurrentTimerSeconds, jumpCooldownTimerSeconds )&lt;br /&gt;
    m_playerCurJumpCooldownTimerSeconds = playerCurrentTimerSeconds&lt;br /&gt;
    m_jumpCooldownTimerHours = jumpCooldownTimerSeconds / TimeUtils.SECONDS_PER_HOUR    &lt;br /&gt;
    m_jumpCooldownTimerMinutes = jumpCooldownTimerSeconds / TimeUtils.SECONDS_PER_MINUTE&lt;br /&gt;
    &lt;br /&gt;
    local jumpDisabled = m_playerCurJumpCooldownTimerSeconds ~= 0 &lt;br /&gt;
    ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:CurrentEventsJumpToEvent|CurrentEventsJumpToEvent]]&lt;br /&gt;
* [[API:CurrentEventsGetList|CurrentEventsGetList]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>