project-meteor-server/data/scripts/zones/193/npcs/pplStd_08@0C100.lua

19 lines
502 B
Lua

function onInstantiate(npc)
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc, triggerName)
man0l0Quest = getStaticActor("Man0l0");
if (triggerName == "talkDefault") then
player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_11", nil, nil, nil);
else
player:endEvent();
end
end
function onEventUpdate(player, npc)
player:endEvent();
end