mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
19 lines
493 B
Lua
19 lines
493 B
Lua
function init(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 |