New Lua Function: GiveQuestItem

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

New Lua Function: GiveQuestItem

Post by Jabantiz » Sat Jun 01, 2013 7:26 pm

GiveQuestItem

This is for those quests where the quest reward window pops up giving you an item needed to advance the quest. It will return true or false if the item was added to the players inventory, as we do not have overflow yet it is important to check the value if the item given is required to advance the quest

Code: Select all

GiveQuestItem(Quest, Player, "Thanks for testing", 3)
GiveQuestItem.png
The quest name and level are obtained from the Quest pointer
You do not have the required permissions to view the files attached to this post.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests