mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
Added all the new scripts for the actor instancing system.
This commit is contained in:
parent
a4ea5f024b
commit
5723f77b1f
82 changed files with 566 additions and 0 deletions
13
data/scripts/base/chara/npc/object/OpeningStoperF0B1.lua
Normal file
13
data/scripts/base/chara/npc/object/OpeningStoperF0B1.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
if (triggerName == "caution") then
|
||||
worldMaster = getWorldMaster();
|
||||
player:sendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (triggerName == "exit") then
|
||||
getWorldManager():DoPlayerMoveInZone(player, 5);
|
||||
end
|
||||
player:endEvent();
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue