onInit was added to all the scripts. Added code for all the Limsa opening event npcs.

This commit is contained in:
Filip Maj 2016-04-14 08:31:39 -04:00
parent bd4e4a293c
commit 95849e1c1c
90 changed files with 662 additions and 91 deletions

View file

@ -3,7 +3,16 @@
function onZoneInit(zone)
end
function onZoneIn(zone, player)
function onZoneIn(player)
openingQuest = player:getQuest(110001);
--Opening Quest
if (openingQuest ~= nil) then
if (openingQuest:GetQuestFlag(0) == false) then
player:kickEvent(player:getDirector(), "noticeEvent");
end
end
end
function onZoneOut(zone, player)