Deleting more useless scripts. Moved all the elevator scripts into 1 base script.

This commit is contained in:
Filip Maj 2022-03-03 20:03:36 -05:00
parent 2cb6a9f6bd
commit b57f91470a
194 changed files with 92 additions and 1762 deletions

View file

@ -1,15 +0,0 @@
require ("global")
function onEventStarted(player, npc)
floorChoice = callClientFunction(player, "elevatorAskLimsa001", 0);
if (floorChoice == 1) then
callClientFunction(player, "elevatorAskLimsa001", 1);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 40, 220, -1.574);
elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskLimsa001", 2);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -458, 92, 175, -0.383);
end
player:EndEvent();
end

View file

@ -1,15 +0,0 @@
require ("global")
function onEventStarted(player, npc)
floorChoice = callClientFunction(player, "elevatorAskLimsa002", 0);
if (floorChoice == 1) then
callClientFunction(player, "elevatorAskLimsa002", 1);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 19, 220, -1.574);
elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskLimsa002", 2);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -458, 92, 175, -0.383);
end
player:EndEvent();
end

View file

@ -1,15 +0,0 @@
require ("global")
function onEventStarted(player, npc)
floorChoice = callClientFunction(player, "elevatorAskLimsa003", 0);
if (floorChoice == 1) then
callClientFunction(player, "elevatorAskLimsa003", 1);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 19, 220, -1.574);
elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskLimsa003", 2);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 40, 220, -1.574);
end
player:EndEvent();
end