mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Modified all wil0Town01a scripts to new way.
This commit is contained in:
@@ -1,15 +1,7 @@
|
||||
require ("global")
|
||||
|
||||
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
|
||||
|
||||
result = player:RunEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithInn_Desk_2", nil, nil, nil); --BTN
|
||||
player:EndEvent();
|
||||
|
||||
end
|
Reference in New Issue
Block a user