1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-23 13:17:45 +00:00
project-meteor-server/data/scripts/unique/sea0Town01/PopulaceStandard/mytesyn.lua

14 lines
364 B
Lua
Raw Normal View History

require ("global")
function onEventStarted(player, npc)
2016-06-15 03:41:23 +01:00
defaultSea = GetStaticActor("DftSea");
choice = callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil);
if (choice == 1) then
GetWorldManager():DoZoneChange(player, 13);
elseif (choice == 2) then
--Do Set Homepoint
end
player:EndEvent();
end