Difference between revisions of "LUA:GiveQuestReward"

(New page: '''Syntax'''<br> GiveQuestReward(Quest, Player)<br> '''Explanation'''<br> As you could guess this is the function that will give the player the quest reward. '''Example'''<br> function...)
 
(No difference)

Latest revision as of 17:04, 3 April 2009

Syntax
GiveQuestReward(Quest, Player)

Explanation
As you could guess this is the function that will give the player the quest reward.

Example

 function Step3_Quest_Complete(Quest, QuestGiver, Player)
   UpdateQuestTaskGroupDescription(Quest, 1, "I've located the box of stolen alchemy components and returned them to Vrim. She is most pleased!")
   GiveQuestReward(Quest, Player)
 end



Back to LUA Functions