2016-06-19 18:52:34 -04:00
|
|
|
require ("global")
|
|
|
|
|
2016-06-12 21:30:47 -04:00
|
|
|
function onEventStarted(player, npc)
|
2016-06-15 03:41:23 +01:00
|
|
|
defaultFst = GetStaticActor("DftFst");
|
2016-06-19 18:52:34 -04:00
|
|
|
choice = callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithInn_Desk", nil, nil, nil);
|
2016-06-12 21:30:47 -04:00
|
|
|
|
2016-06-19 18:52:34 -04:00
|
|
|
if (choice == 1) then
|
2016-06-15 03:41:23 +01:00
|
|
|
GetWorldManager():DoZoneChange(player, 13);
|
2016-06-19 18:52:34 -04:00
|
|
|
elseif (choice == 2) then
|
|
|
|
--Do Set Homepoint
|
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
|
|
|
|
|
|
|
end
|