mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Fixed work values not updating. GL UI now shows up though it isn't configured.
This commit is contained in:
parent
186d5b5cc5
commit
8fb4910320
7 changed files with 33 additions and 15 deletions
|
@ -3,25 +3,22 @@ require ("guildleve")
|
|||
|
||||
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
|
||||
|
||||
local guildleveId;
|
||||
|
||||
function init(thisDirector, glId)
|
||||
guildleveId = glId;
|
||||
|
||||
guildleveData = GetGuildleveGamedata(glId);
|
||||
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, glId, player, 0); --"You have started the leve..."
|
||||
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/PrivateGLBattleDetectNormal", 0x4e25, glId, 6, 0, 0, 0;
|
||||
return "/Director/Guildleve/PrivateGLBattleDetectNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
|
||||
end
|
||||
|
||||
function mainLoop(thisDirector)
|
||||
|
||||
|
||||
wait(3)
|
||||
thisDirector:StartGuildleve();
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue