mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-03 16:21:52 +02:00
Consolidated server data and automatically place them in approporate directories post build
This commit is contained in:
parent
e501d5b796
commit
ddf4d0d202
92 changed files with 272 additions and 270 deletions
26
data/scripts/zones/193/npcs/pplStd_11@0C100.lua
Normal file
26
data/scripts/zones/193/npcs/pplStd_11@0C100.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
function onInstantiate(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceTutorial", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
|
||||
man0l0Quest = getStaticActor("Man0l0");
|
||||
|
||||
if (triggerName == "pushDefault") then
|
||||
player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrNomal002", nil, nil, nil);
|
||||
player:setEventStatus(npc, "pushDefault", false, 0x2);
|
||||
elseif (triggerName == "talkDefault") then
|
||||
--if () then
|
||||
-- player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrNomal003", nil, nil, nil);
|
||||
--else
|
||||
player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrMini001", nil, nil, nil);
|
||||
--end
|
||||
else
|
||||
player:endEvent();
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
player:endEvent();
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue