No categories assigned

LUA:SetQuestRewardExp

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

LUA Functions: SetQuestRewardExp()

Sets the reward exp for the given quest


Syntax

SetQuestRewardExp(param1, param2)


Parameters

Required - param1 (Quest), param2 (int32)
param1 is the quest who's reward exp we want to set
param2 is the amount of we want to set it to


Usage

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

Sets the reward xp for this quest to 1234