2016-04-18 13:33:31 -04:00
|
|
|
require("/quests/man/man0l0")
|
|
|
|
|
|
|
|
function onEventStarted(player, actor, triggerName)
|
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
man0l0Quest = GetStaticActor("Man0l0");
|
|
|
|
player:RunEventFunction("delegateEvent", player, man0l0Quest, "processTtrNomal001withHQ", nil, nil, nil, nil);
|
|
|
|
--player:RunEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_1", nil, nil, nil, nil);
|
2016-04-18 13:33:31 -04:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function onEventUpdate(player, npc, resultId)
|
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
player:EndEvent();
|
2016-04-18 13:33:31 -04:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function onTalked(player, npc)
|
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
man0l0Quest = player:GetQuest("Man0l0");
|
2016-04-18 13:33:31 -04:00
|
|
|
|
|
|
|
if (man0l0Quest ~= nil) then
|
|
|
|
if (man0l0Quest ~= nil and man0l0Quest:GetQuestFlag(MAN0L0_FLAG_MINITUT_DONE1) == true and man0l0Quest:GetQuestFlag(MAN0L0_FLAG_MINITUT_DONE2) == true and man0l0Quest:GetQuestFlag(MAN0L0_FLAG_MINITUT_DONE3) == true) then
|
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
doorNpc = GetWorldManager():GetActorInWorld(1090025);
|
|
|
|
player:SetEventStatus(doorNpc, "pushDefault", true, 0x2);
|
|
|
|
doorNpc:SetQuestGraphic(player, 0x3);
|
2016-04-18 13:33:31 -04:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|