mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Changed to Tutorial GL script as that is the correct one for our test GL.
This commit is contained in:
		
							
								
								
									
										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 | ||||
		Reference in New Issue
	
	Block a user