Difference between revisions of "LUA:Reload"
(New page: '''Syntax'''<br> Reload(Quest, QuestGiver, Player, Step)<br> '''Explanation'''<br> This is the function that will tell your server which step you are on if you log out, zone, or reload yo...) |
(No difference)
|
Latest revision as of 17:19, 3 April 2009
Syntax
Reload(Quest, QuestGiver, Player, Step)
Explanation
This is the function that will tell your server which step you are on if you log out, zone, or reload your quest scripts in SQL. It is a MUST in your quest scripts.
Example
function Reload(Quest, QuestGiver, Player, Step)
if Step == 1 then
Step1_Complete_Threat(Quest, QuestGiver, Player)
elseif Step == 2 then
Step2_Complete_RecoBox(Quest, QuestGiver, Player)
elseif Step == 3 then
Step3_QuestComplete(Quest, QuestGiver, Player)
end
end