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);
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
callClientFunction(player, "elevatorAskLimsa001", 2);
callClientFunction(player, "elevatorAskLimsa001", 2);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -458, 92, 175, -0.383);
end
player:EndEvent();

View file

@ -5,8 +5,10 @@ function onEventStarted(player, npc)
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();

View file

@ -4,9 +4,11 @@ function onEventStarted(player, npc)
floorChoice = callClientFunction(player, "elevatorAskLimsa003", 0);
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
callClientFunction(player, "elevatorAskLimsa003", 2);
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 40, 220, -1.574);
end
player:EndEvent();