mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
onInit was added to all the scripts. Added code for all the Limsa opening event npcs.
This commit is contained in:
parent
bd4e4a293c
commit
95849e1c1c
90 changed files with 662 additions and 91 deletions
|
@ -35,17 +35,17 @@ function onEventUpdate(player, actor, step, arg1)
|
|||
player:setCurrentMenuId(1);
|
||||
player:runEventFunction("delegateCommand", actor, "eventAetheryte", arg1, 2, 2, 2, 4, 4, 4);
|
||||
else
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
elseif (menuId == 1) then --Aetheryte
|
||||
if (arg1 == nil) then
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
return;
|
||||
end
|
||||
player:setCurrentMenuId(2);
|
||||
player:runEventFunction("delegateCommand", actor, "eventConfirm", false, false, 1, 138824, false);
|
||||
elseif (menuId == 2) then --Confirm
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue