Ported over the Limsa/Uldah opening zone scripts. Still not 100% done.

This commit is contained in:
Filip Maj 2016-06-21 22:50:30 -04:00
parent 926e9146e2
commit 3cd181f5da
35 changed files with 99 additions and 85 deletions

View file

@ -21,7 +21,8 @@ function onEventStarted(player, npc, triggerName)
man0l0Quest = GetStaticActor("Man0l0");
choice = callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEventNewRectAsk", nil);
if (resultId == 0x2B9EBC42) then
if (choice == 1) then
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent000_2", nil, nil, nil, nil);
player:EndEvent();
player:SetDirector("QuestDirectorMan0l001", true);
@ -30,13 +31,8 @@ function onEventStarted(player, npc, triggerName)
player:SendGameMessage(player, worldMaster, 50011, 0x20);
GetWorldManager():DoPlayerMoveInZone(player, 9);
player:KickEvent(player:GetDirector(), "noticeEvent", true);
player:KickEvent(player:GetDirector(), "noticeEvent", true);
else
if (choice == 1) then
man0l0Quest = player:GetQuest("Man0l0");
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent000_2", nil, nil, nil, nil);
end
end
player:EndEvent();
player:EndEvent();
end
end

View file

@ -1,3 +0,0 @@
function init(npc)
return "/Chara/Npc/Monster/Jellyfish/JellyfishScenarioLimsaLv00", false, false, false, false, false, npc:GetActorClassId(), true, true, 10, 0, 4, false, false, false, false, false, false, false, false, 2;
end