mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added scripts for the inn keepers. Added default event conditions to almost all actors. Updated sql for actorClass, spawnLocations, and new zoneEntrances.
This commit is contained in:
25
data/scripts/directors1/questDirect_ocn0Btl02_01@0C196.lua
Normal file
25
data/scripts/directors1/questDirect_ocn0Btl02_01@0C196.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
function onEventStarted(player, actor, triggerName)
|
||||
|
||||
man0u0Quest = getStaticActor("Man0u0");
|
||||
man0l0Quest = getStaticActor("Man0l0");
|
||||
player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrBtl001");
|
||||
--player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrBtlMagic001");
|
||||
--player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrBtl002");
|
||||
--player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrBtl003");
|
||||
|
||||
--player:runEventFunction("delegateEvent", player, man0u0Quest, "processTtrBtl004");
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, resultId)
|
||||
--man0l0Quest = getStaticActor("Man0l0");
|
||||
--player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrBtl002");
|
||||
player:endEvent();
|
||||
end
|
||||
|
||||
function onCommand(player, command)
|
||||
--Check command if ActivateCommand
|
||||
--player:kickEvent(player:getDirector(), "noticeEvent");
|
||||
--player:endCommand();
|
||||
end
|
Reference in New Issue
Block a user