More script work.

This commit is contained in:
Filip Maj 2016-06-19 23:16:31 -04:00
parent 8743042950
commit 97c1fb06cf
36 changed files with 298 additions and 67 deletions

View file

@ -0,0 +1,13 @@
require ("global")
function onEventStarted(player, npc)
floorChoice = callClientFunction(player, "elevatorAskLimsa001", 0);
if (floorChoice == 1) then
callClientFunction(player, "elevatorAskLimsa001", 1);
elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskLimsa001", 2);
end
player:EndEvent();
end

View file

@ -0,0 +1,13 @@
require ("global")
function onEventStarted(player, npc)
floorChoice = callClientFunction(player, "elevatorAskLimsa002", 0);
if (floorChoice == 1) then
callClientFunction(player, "elevatorAskLimsa002", 1);
elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskLimsa002", 2);
end
player:EndEvent();
end

View file

@ -0,0 +1,13 @@
require ("global")
function onEventStarted(player, npc)
floorChoice = callClientFunction(player, "elevatorAskLimsa003", 0);
if (floorChoice == 1) then
callClientFunction(player, "elevatorAskLimsa003", 1);
elseif (floorChoice == 2) then
callClientFunction(player, "elevatorAskLimsa003", 2);
end
player:EndEvent();
end