<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3AGiveQuestItem</id>
	<title>LUA:GiveQuestItem - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3AGiveQuestItem"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GiveQuestItem&amp;action=history"/>
	<updated>2026-07-12T14:01:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:GiveQuestItem&amp;diff=4828&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: GiveQuestItem() = Makes the quest reward window pop up for the player and give them an item, not for actual quest rewards.   ==== Syntax ==== GiveQuestItem(param...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GiveQuestItem&amp;diff=4828&amp;oldid=prev"/>
		<updated>2013-06-02T02:21:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: GiveQuestItem() = Makes the quest reward window pop up for the player and give them an item, not for actual quest rewards.   ==== Syntax ==== GiveQuestItem(param...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: GiveQuestItem() =&lt;br /&gt;
Makes the quest reward window pop up for the player and give them an item, not for actual quest rewards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
GiveQuestItem(param1, param2, param3, param4)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Quest), ''param2'' (Spawn), ''param3'' (String), ''param4'' (int32)&lt;br /&gt;
: ''param1'' is the quest giving the item&lt;br /&gt;
: ''param2'' is the player receiving the item&lt;br /&gt;
: ''param3'' is the description in the window&lt;br /&gt;
: ''param4'' is the item id&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Returns ====&lt;br /&gt;
; ''bool''&lt;br /&gt;
: true if the item was added to the players inventory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function Step2Complete(Quest, QuestGiver, Player)&lt;br /&gt;
    -- When this function is called the quest reward window will pop up giving an item to the player&lt;br /&gt;
    GiveQuestItem(Quest, Player, &amp;quot;Here is your quest item&amp;quot;, 3)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Player will receive a quest reward window with the item with an id of 3 when this step complete function is called&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If the item is required to advance the quest make sure to check the return value to make sure the item was added to the players inventory&lt;br /&gt;
&lt;br /&gt;
This is '''not''' for the quest rewards&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>