mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Added Gridania scripts and various others. Fixed error messages popping for scripts that may not use certain functions.
This commit is contained in:
parent
67928ee875
commit
5e926bf668
169 changed files with 1310 additions and 37 deletions
25
data/scripts/base/chara/npc/object/ObjectEventDoor.lua
Normal file
25
data/scripts/base/chara/npc/object/ObjectEventDoor.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
--[[
|
||||
|
||||
ObjectEventDoor Script
|
||||
|
||||
Functions:
|
||||
|
||||
eventDoorMoveAsk() - Shows confirm to move into event
|
||||
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
choice = callClientFunction(player, "eventDoorMoveAsk");
|
||||
|
||||
if (choice == 1) then
|
||||
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue