New scripts for the opening private areas, as well as db updates.

This commit is contained in:
Filip Maj 2017-03-07 08:32:57 -05:00
parent e898c045f7
commit d918ad3776
29 changed files with 412 additions and 183 deletions

View file

@ -18,13 +18,15 @@ function onSpawn(player, npc)
end
function onEventStarted(player, npc, triggerName)
man0l0Quest = GetStaticActor("Man0l0");
man0l0Quest = player:GetQuest("Man0l0");
choice = callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEventNewRectAsk", nil);
if (choice == 1) then
callClientFunction(player, "delegateEvent", player, man0l0Quest, "processEvent000_2", nil, nil, nil, nil);
player:EndEvent();
man0l0Quest:NextPhase(5);
worldMaster = GetWorldMaster();
player:SendGameMessage(player, worldMaster, 34108, 0x20);
player:SendGameMessage(player, worldMaster, 50011, 0x20);