1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-21 20:27:47 +00:00

Fixed the broken elevator in Ul'dah. Finished the one in Limsa.

This commit is contained in:
Filip Maj 2017-06-14 22:41:39 -04:00
parent 866e2d3559
commit cdfa2f682e
6 changed files with 15 additions and 9 deletions

View file

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

View file

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

View file

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

View file

@ -5,10 +5,10 @@ function onEventStarted(player, npc)
if (floorChoice == 1) then if (floorChoice == 1) then
callClientFunction(player, "elevatorAskUldah001", 1); callClientFunction(player, "elevatorAskUldah001", 1);
GetWorldManager():DoZoneChange(player, 209, nil, 15, -116.78, 222, 115.7, 2.85); GetWorldManager():DoZoneChange(player, 209, nil, 0, 15, -116.78, 222, 115.7, 2.85);
elseif (floorChoice == 2) then elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskUldah001", 2); callClientFunction(player, "elevatorAskUldah001", 2);
GetWorldManager():DoZoneChange(player, 209, nil, 15, -121.60, 269.8, 135.28, -0.268); GetWorldManager():DoZoneChange(player, 209, nil, 0, 15, -121.60, 269.8, 135.28, -0.268);
end end
player:EndEvent(); player:EndEvent();

View file

@ -5,10 +5,10 @@ function onEventStarted(player, npc)
if (floorChoice == 1) then if (floorChoice == 1) then
callClientFunction(player, "elevatorAskUldah002", 1); callClientFunction(player, "elevatorAskUldah002", 1);
GetWorldManager():DoZoneChange(player, 175, nil, 15, -116.78, 198, 115.7, -2.8911); GetWorldManager():DoZoneChange(player, 175, nil, 0, 15, -116.78, 198, 115.7, -2.8911);
elseif (floorChoice == 2) then elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskUldah002", 2); callClientFunction(player, "elevatorAskUldah002", 2);
GetWorldManager():DoZoneChange(player, 209, nil, 15, -121.60, 269.8, 135.28, -0.268); GetWorldManager():DoZoneChange(player, 209, nil, 0, 15, -121.60, 269.8, 135.28, -0.268);
end end
player:EndEvent(); player:EndEvent();

View file

@ -5,10 +5,10 @@ function onEventStarted(player, npc)
if (floorChoice == 1) then if (floorChoice == 1) then
callClientFunction(player, "elevatorAskUldah003", 1); callClientFunction(player, "elevatorAskUldah003", 1);
GetWorldManager():DoZoneChange(player, 175, nil, 15, -116.78, 198, 115.7, -2.8911); GetWorldManager():DoZoneChange(player, 175, nil, 0, 15, -116.78, 198, 115.7, -2.8911);
elseif (floorChoice == 2) then elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskUldah003", 2); callClientFunction(player, "elevatorAskUldah003", 2);
GetWorldManager():DoZoneChange(player, 209, nil, 15, -116.78, 222, 115.7, 2.85); GetWorldManager():DoZoneChange(player, 209, nil, 0, 15, -116.78, 222, 115.7, 2.85);
end end
player:EndEvent(); player:EndEvent();