2016-03-12 02:54:03 -05:00
|
|
|
function onEventStarted(player, npc)
|
2016-06-15 03:41:23 +01:00
|
|
|
defaultSea = GetStaticActor("DftSea");
|
|
|
|
player:RunEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil);
|
2016-06-12 21:30:47 -04:00
|
|
|
|
2016-03-12 02:54:03 -05:00
|
|
|
end
|
|
|
|
|
2016-06-12 21:30:47 -04:00
|
|
|
function onEventUpdate(player, npc, blah, menuSelect)
|
|
|
|
|
|
|
|
if (menuSelect == 1) then
|
2016-06-15 03:41:23 +01:00
|
|
|
GetWorldManager():DoZoneChange(player, 12);
|
2016-06-12 21:30:47 -04:00
|
|
|
end
|
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
player:EndEvent();
|
2016-06-12 21:30:47 -04:00
|
|
|
|
2016-03-12 02:54:03 -05:00
|
|
|
end
|