Scripted almost all of lower limsa.

This commit is contained in:
Filip Maj 2016-06-13 21:26:19 -04:00
parent 65389e3362
commit d1c8987091
161 changed files with 293 additions and 911 deletions

View file

@ -3,9 +3,18 @@ function init(npc)
end
function onEventStarted(player, npc, triggerName)
player:endEvent();
questNOC = getStaticActor("Noc000");
if (npc:getActorClassId() == 1200193) then
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskLimsa", nil, nil, nil);
elseif (npc:getActorClassId() == 1200194) then
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskUldah", nil, nil, nil);
else
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil);
end
end
function onEventUpdate(player, npc, resultId)
function onEventUpdate(player, npc, step, menuOptionSelected)
player:endEvent();
end

View file

@ -4,6 +4,10 @@ function init(npc)
end
function onEventStarted(player, npc)
player:sendMessage(0x20, "", "This PopulaceStandard actor has no event set.")
player:sendMessage(0x20, "", "This PopulaceStandard actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId()));
player:endEvent();
end
function onEventUpdate(player, npc, blah, menuSelect)
player:endEvent();
end

View file

@ -3,7 +3,7 @@ function init(npc)
end
function onEventStarted(player, npc)
player:sendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set.")
player:sendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId()))
player:endEvent();
--player:runEventFunction("welcomeTalk");
end