Difference between revisions of "LUA:SetQuestRewardExp"

(Created page with "= LUA Functions: SetQuestRewardExp() = Sets the reward exp for the given quest ==== Syntax ==== SetQuestRewardExp(param1, param2) ==== Parameters ==== ; Required - ''param1''...")
 
(No difference)

Latest revision as of 12:33, 12 September 2013

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