Fixed syntax error in tutorial script. Finished fleshing out the opening script and related scripts for Limsa.

This commit is contained in:
Filip Maj 2017-03-19 11:40:41 -04:00
parent 77e0639410
commit 7b205c7b9b
6 changed files with 53 additions and 50 deletions

View file

@ -6,8 +6,14 @@
function onEventStarted(player, actor, trigger, questId, mapCode)
quest = player:GetQuest(questId);
if (quest == nil) then
player:EndEvent();
return;
end
if (mapCode == nil) then
player:SendRequestedInfo("requestedData", "qtdata", quest:GetQuestId(), 3);
player:SendRequestedInfo("requestedData", "qtdata", quest:GetQuestId(), quest:GetPhase());
player:EndEvent();
else
player:SendRequestedInfo("requestedData", "qtmap", quest:GetQuestId());