<?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%3ACurrentEventsJumpToEvent</id>
	<title>API:CurrentEventsJumpToEvent - 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%3ACurrentEventsJumpToEvent"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:CurrentEventsJumpToEvent&amp;action=history"/>
	<updated>2026-10-18T04:52:44Z</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:CurrentEventsJumpToEvent&amp;diff=30272&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:CurrentEventsJumpToEvent&amp;diff=30272&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;
Asks the server to take the player to a current world event (the &amp;quot;Go&amp;quot; button of the Current Events window).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CurrentEventsJumpToEvent(eventId)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
;eventId : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – Id of an event in the list from [[API:CurrentEventsGetList|CurrentEventsGetList]].&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
Nothing.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The id is looked up in the client&amp;#039;s stored event list. If no event has that id, nothing is sent and no error is raised.&lt;br /&gt;
* The request sends the event&amp;#039;s id and tier. Nothing is sent if the connection is not ready.&lt;br /&gt;
* If the current-events data is not available, the call does nothing, and the argument is not checked.&lt;br /&gt;
* Whether the jump happens is decided by the server. The stock UI uses [[API:CurrentEventsGetTimers|CurrentEventsGetTimers]] to disable the button while the jump is on cooldown, and asks for confirmation first.&lt;br /&gt;
* Exactly one argument must be passed.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None besides the generic &amp;#039;&amp;#039;Invalid Parameters&amp;#039;&amp;#039; message when the argument is missing or not a number.&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;
function EA_Window_CurrentEvents.OnConfirmationDialogYes()&lt;br /&gt;
    CurrentEventsJumpToEvent( m_selectedEventId )&lt;br /&gt;
    m_confirmationDialogOpen = false&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:CurrentEventsGetList|CurrentEventsGetList]]&lt;br /&gt;
* [[API:CurrentEventsGetTimers|CurrentEventsGetTimers]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>