mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added Gridania scripts and various others. Fixed error messages popping for scripts that may not use certain functions.
This commit is contained in:
24
data/scripts/base/chara/npc/populace/PopulaceCompanyWarp.lua
Normal file
24
data/scripts/base/chara/npc/populace/PopulaceCompanyWarp.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
--[[
|
||||
|
||||
PopulaceCompanyWarp Script
|
||||
|
||||
Functions:
|
||||
|
||||
eventTalkWelcome(player) - Start Text
|
||||
eventAskMainMenu(player, index) - Shows teleport menu
|
||||
eventAfterWarpOtherZone(player) - Fades out for warp
|
||||
eventTalkStepBreak() - Ends talk
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
|
||||
callClientFunction(player, "eventAskMainMenu", player, 1);
|
||||
|
||||
player:EndEvent();
|
||||
end
|
Reference in New Issue
Block a user