Modified all wil0Town01a scripts to new way.

This commit is contained in:
Filip Maj
2016-06-21 15:29:48 -04:00
parent 1242a8b00c
commit ff2f587959
94 changed files with 345 additions and 253 deletions

View File

@@ -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