2016-04-18 13:33:31 -04:00
|
|
|
function init(npc)
|
2016-06-15 04:41:15 +01:00
|
|
|
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc:GetActorClassId(), false, false, 0, 1, "TEST";
|
2016-04-01 23:32:52 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
function onEventStarted(player, npc, triggerName)
|
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
man0l0Quest = GetStaticActor("Man0l0");
|
2016-04-01 23:32:52 -04:00
|
|
|
|
|
|
|
if (triggerName == "talkDefault") then
|
2016-06-15 03:41:23 +01:00
|
|
|
player:RunEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_5", nil, nil, nil);
|
2016-04-01 23:32:52 -04:00
|
|
|
else
|
2016-06-15 03:41:23 +01:00
|
|
|
player:EndEvent();
|
2016-04-01 23:32:52 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function onEventUpdate(player, npc)
|
2016-06-15 03:41:23 +01:00
|
|
|
player:EndEvent();
|
2016-04-01 23:32:52 -04:00
|
|
|
end
|