mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
All the script changes done to get the openings working.
This commit is contained in:
21
data/scripts/zones/184/npcs/pplStd_wil0Btl01_07@0B800.lua
Normal file
21
data/scripts/zones/184/npcs/pplStd_wil0Btl01_07@0B800.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
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_12", nil, nil, nil);
|
||||
else
|
||||
player:endEvent();
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
player:endEvent();
|
||||
end
|
Reference in New Issue
Block a user