<?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%3AEA_Window_HelpGetFAQEntryData</id>
	<title>API:EA Window HelpGetFAQEntryData - 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%3AEA_Window_HelpGetFAQEntryData"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:EA_Window_HelpGetFAQEntryData&amp;action=history"/>
	<updated>2026-10-17T15:53:30Z</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:EA_Window_HelpGetFAQEntryData&amp;diff=30292&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:EA_Window_HelpGetFAQEntryData&amp;diff=30292&amp;oldid=prev"/>
		<updated>2026-10-16T19:42:17Z</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=Help}}&lt;br /&gt;
Returns the answer text of one FAQ entry.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
entry = EA_Window_HelpGetFAQEntryData(entryId)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
;entryId : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – Entry id, the &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; field of an entry from the &amp;lt;code&amp;gt;entries&amp;lt;/code&amp;gt; list of [[API:EA_Window_HelpGetFAQTopicList|EA_Window_HelpGetFAQTopicList]]. Fractions are dropped.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;entry : &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; – A table with one field:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || The answer text. Empty if the client&amp;#039;s FAQ text list is not loaded.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The client looks the entry up by id in its FAQ data and reads the text from its &amp;lt;code&amp;gt;game_faq_entry_text&amp;lt;/code&amp;gt; data list.&lt;br /&gt;
* The question itself is not included; use the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; field from [[API:EA_Window_HelpGetFAQTopicList|EA_Window_HelpGetFAQTopicList]].&lt;br /&gt;
* Only ids that come from [[API:EA_Window_HelpGetFAQTopicList|EA_Window_HelpGetFAQTopicList]] should be passed: the client does not check that the id exists before using the lookup result.&lt;br /&gt;
* The function needs at least one argument and only reads the last one.&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;ea_helpwindow/source/faqwindow.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function FAQWindow.DisplayFAQEntry( id, name )&lt;br /&gt;
    local entryData = EA_Window_HelpGetFAQEntryData( id )&lt;br /&gt;
    LabelSetText( &amp;quot;FAQWindowTopicLabel&amp;quot;, name )        -- display the title for the entry&lt;br /&gt;
    LabelSetText( &amp;quot;FAQWindowMainText&amp;quot;, entryData.text )-- display the entry&amp;#039;s text&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:EA_Window_HelpGetFAQTopicList|EA_Window_HelpGetFAQTopicList]]&lt;br /&gt;
* [[API:EA_Window_HelpGetEntryData|EA_Window_HelpGetEntryData]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>