mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-24 21:57:45 +00:00
15 lines
359 B
Lua
15 lines
359 B
Lua
![]() |
function onEventStarted(player, npc)
|
||
|
defaultWil = getStaticActor("DftWil");
|
||
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithInn_Desk_2", nil, nil, nil); --BTN
|
||
|
|
||
|
end
|
||
|
|
||
|
function onEventUpdate(player, npc, blah, menuSelect)
|
||
|
|
||
|
if (menuSelect == 1) then
|
||
|
getWorldManager():DoZoneChange(player, 11);
|
||
|
end
|
||
|
|
||
|
player:endEvent();
|
||
|
|
||
|
end
|