Forgot to push GL scripts.

This commit is contained in:
Filip Maj 2017-06-25 20:43:23 -04:00
parent c071b9d684
commit cd0bb10ef6
10 changed files with 313 additions and 36 deletions

View file

@ -3,23 +3,30 @@ 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
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleDetectNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function mainLoop(thisDirector)
function main(thisDirector)
wait(3)
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
wait(3);
end
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end