No categories assigned

LUA:SetQuestRewardStatus

Revision as of 12:36, 12 September 2013 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: SetQuestRewardStatus() = Sets the amount of status to reward for the given quest ==== Syntax ==== SetQuestRewardStatus(param1, param2) ==== Parameters ==== ;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: SetQuestRewardStatus()

Sets the amount of status to reward for the given quest


Syntax

SetQuestRewardStatus(param1, param2)


Parameters

Required - param1 (Quest), param2 (int32)
param1 is the quest we want to add a status reward to
param2 is the amount of status to add


Usage

function init(Quest)
    SetQuestRewardStatus(Quest, 1234)
end

Sets the status points reward for this quest to 1234