New scripts for the opening private areas, as well as db updates.

This commit is contained in:
Filip Maj 2017-03-07 08:32:57 -05:00
parent e898c045f7
commit d918ad3776
29 changed files with 412 additions and 183 deletions

View file

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