mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
25 lines
344 B
Lua
25 lines
344 B
Lua
--[[
|
|
|
|
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 |