Difference between revisions of "LUA:SetCompletedDescription"
(Created page with "= LUA Functions: SetCompletedDescription() = Sets the completed description for the given quest ==== Syntax ==== SetCompletedDescription(param1, param2) ==== Parameters ==== ...") |
(No difference)
|
Latest revision as of 22:50, 11 September 2013
LUA Functions: SetCompletedDescription()
Sets the completed description for the given quest
Syntax
SetCompletedDescription(param1, param2)
Parameters
- Required - param1 (Quest), param2 (string)
- param1 is the quest who's complete description we want to change
- param2 is what we want to set the description to
Usage
function hailed(NPC, Spawn)
local quest = GetQuest(Spawn, 1234)
SetCompletedDescription(quest, "This quest is complete")
end
When the NPC is hailed it will set the completed description for quest 1234