No categories assigned

LUA:SetQuestRewardComment

Revision as of 12:24, 12 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: SetQuestRewardComment() = Sets the reward comment for the given quest ==== Syntax ==== Set(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Ques...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: SetQuestRewardComment()

Sets the reward comment for the given quest


Syntax

Set(param1, param2)


Parameters

Required - param1 (Quest), param2 (string)
param1 is the quest we want to set the reward comment for
param2 is the comment we want to set


Usage

function init(Quest)
    SetQuestRewardComment(Quest, "Woot you completed the quest!")
end

Sets the reward comment for the quest to "Woot you completed the quest!"