mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
21 lines
524 B
Lua
21 lines
524 B
Lua
require("/quests/man/man0u0")
|
|
|
|
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)
|
|
|
|
man0u0Quest = getStaticActor("Man0u0");
|
|
|
|
if (triggerName == "talkDefault") then
|
|
player:runEventFunction("delegateEvent", player, man0u0Quest, "processEvent000_10", nil, nil, nil);
|
|
else
|
|
player:endEvent();
|
|
end
|
|
|
|
end
|
|
|
|
function onEventUpdate(player, npc)
|
|
player:endEvent();
|
|
end |