1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-25 22:27:45 +00:00
project-meteor-server/data/scripts/unique/wil0Battle01/pplStd_wil0Btl01_01@0B800.lua

21 lines
523 B
Lua
Raw Normal View History

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)
2016-06-15 03:41:23 +01:00
man0u0Quest = GetStaticActor("Man0u0");
if (triggerName == "talkDefault") then
2016-06-15 03:41:23 +01:00
player:RunEventFunction("delegateEvent", player, man0u0Quest, "processEvent000_6", nil, nil, nil);
else
2016-06-15 03:41:23 +01:00
player:EndEvent();
end
end
function onEventUpdate(player, npc)
2016-06-15 03:41:23 +01:00
player:EndEvent();
end