mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
More script work.
This commit is contained in:
parent
8743042950
commit
97c1fb06cf
36 changed files with 298 additions and 67 deletions
|
@ -0,0 +1,15 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
floorChoice = callClientFunction(player, "elevatorAskUldah002", 0);
|
||||
|
||||
if (floorChoice == 1) then
|
||||
callClientFunction(player, "elevatorAskUldah002", 1);
|
||||
GetWorldManager():DoZoneChange(player, 175, nil, 15, -116.78, 198, 115.7, -2.8911);
|
||||
elseif (floorChoice == 2) then
|
||||
callClientFunction(player, "elevatorAskUldah002", 2);
|
||||
GetWorldManager():DoZoneChange(player, 209, nil, 15, -121.60, 269.8, 135.28, -0.268);
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
|
@ -0,0 +1,15 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
floorChoice = callClientFunction(player, "elevatorAskUldah003", 0);
|
||||
|
||||
if (floorChoice == 1) then
|
||||
callClientFunction(player, "elevatorAskUldah003", 1);
|
||||
GetWorldManager():DoZoneChange(player, 175, nil, 15, -116.78, 198, 115.7, -2.8911);
|
||||
elseif (floorChoice == 2) then
|
||||
callClientFunction(player, "elevatorAskUldah003", 2);
|
||||
GetWorldManager():DoZoneChange(player, 209, nil, 15, -116.78, 222, 115.7, 2.85);
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue