No categories assigned

LUA:SetCompletedDescription

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