mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Changed to Tutorial GL script as that is the correct one for our test GL.
This commit is contained in:
parent
c78fa033af
commit
c42f1a08de
2 changed files with 26 additions and 1 deletions
25
data/scripts/directors/Guildleve/PrivateGLBattleTutorial.lua
Normal file
25
data/scripts/directors/Guildleve/PrivateGLBattleTutorial.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
require ("global")
|
||||
require ("guildleve")
|
||||
|
||||
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
|
||||
|
||||
function init(thisDirector)
|
||||
guildleveData = GetGuildleveGamedata(thisDirector.guildleveId);
|
||||
members = thisDirector:GetPlayerMembers();
|
||||
|
||||
if (members ~= nil and #members ~= 0) then
|
||||
player = members[0];
|
||||
player:SendGameMessage(GetWorldMaster(), 50036, 0x20, thisDirector.guildleveId, player, 0); --"You have started the leve..."
|
||||
player:PlayAnimation(getGLStartAnimationFromSheet(guildleveData.borderId, guildleveData.plateId, false));
|
||||
end
|
||||
|
||||
return "/Director/Guildleve/PrivateGLBattleTutorial", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
|
||||
end
|
||||
|
||||
function mainLoop(thisDirector)
|
||||
|
||||
wait(2)
|
||||
thisDirector:StartGuildleve();
|
||||
thisDirector:SyncAllInfo();
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue