Page 1 of 1

New Lua Function: GiveQuestItem

Posted: Sat Jun 01, 2013 7:26 pm
by Jabantiz
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