Added script for ItemStorage npc. Added scripts for both types of inn exit doors. Added BountyPresenter script (YoshiP).

This commit is contained in:
Filip Maj 2017-06-19 22:23:27 -04:00
parent c1d67538f3
commit 7f6b291366
14 changed files with 116 additions and 18 deletions

View file

@ -0,0 +1,12 @@
require ("global")
function onEventStarted(player, npc)
defaultFst = GetStaticActor("DftFst");
choice = callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithInn_ExitDoor");
if (choice == 1) then
GetWorldManager():DoZoneChange(player, 155, nil, 0, 15, 59.252, 4, -1219.342, 0.852);
end
player:endEvent();
end

View file

@ -0,0 +1,12 @@
require ("global")
function onEventStarted(player, npc)
defaultSea = GetStaticActor("DftSea");
choice = callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithInn_ExitDoor");
if (choice == 1) then
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -444.266, 39.518, 191, 1.9);
end
player:endEvent();
end

View file

@ -0,0 +1,12 @@
require ("global")
function onEventStarted(player, npc)
defaultWil = GetStaticActor("DftWil");
choice = callClientFunction(player, "delegateEvent", player, defaultWil, "defaultTalkWithInn_ExitDoor");
if (choice == 1) then
GetWorldManager():DoZoneChange(player, 209, nil, 0, 15, -110.157, 202, 171.345, 0);
end
player:endEvent();
end

View file

@ -0,0 +1,12 @@
require ("global")
function onEventStarted(player, npc)
defaultFst = GetStaticActor("DftFst");
choice = callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithInn_ExitDoor");
if (choice == 1) then
GetWorldManager():DoZoneChange(player, 155, nil, 0, 15, 59.252, 4, -1219.342, 0.852);
end
player:endEvent();
end

View file

@ -0,0 +1,12 @@
require ("global")
function onEventStarted(player, npc)
defaultSea = GetStaticActor("DftSea");
choice = callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithInn_ExitDoor");
if (choice == 1) then
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -444.266, 39.518, 191, 1.9);
end
player:endEvent();
end

View file

@ -0,0 +1,12 @@
require ("global")
function onEventStarted(player, npc)
defaultWil = GetStaticActor("DftWil");
choice = callClientFunction(player, "delegateEvent", player, defaultWil, "defaultTalkWithInn_ExitDoor");
if (choice == 1) then
GetWorldManager():DoZoneChange(player, 209, nil, 0, 15, -110.157, 202, 171.345, 0);
end
player:endEvent();
end