No categories assigned
LUA:UpdateQuestDescription
LUA:AllFunctions - UpdateQuestDescription
Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Updates the description of a quest. This is usually called after completion of a quest.
Syntax
UpdateQuestDescription(param1, param2)
Parameters
- Required - param1 (Quest), param2 (string)
- param1 is the quest you wish to update
- param2 is the new description of the quest you are updating
Example
function quest_complete(Quest, QuestGiver, Player) UpdateQuestDescription(Quest, "I have brought the ore samples to Tykor Gi'Lok.") GiveQuestReward(Quest, Player) end
This updates the quest description for the quest "Curious Ore" after completing the final step.