///////////////////////////////////////////////////////////////////////////////
//	Land 10 Outro
//	~~~~~~~~~~~~~
//
//	Start date:		18.02.17		By:	Boxhead
//	Update date:	19.02.17		By: Boxhead //Not Finished
///////////////////////////////////////////////////////////////////////////////

begin script Land10Outro

OUTROALLOWED = 0

L10AztecTownConversionMethod=0

start

wait until OUTROALLOWED == 1

begin cinema

	wait until PLAYER of AztecCapital != 1 and PLAYER of AztecPreTown != 1 and PLAYER of PlayerTown != 1 and PLAYER of MinorTown != 1 and PLAYER of AztecFirstTown != 1
	
	L10AztecTownConversionMethod = variable get town AztecCapital method of last conversion
	
	disable atmos sound
	set atmos volume 0
	
	reset camera path
	queue camera move with position {410.67,530,2012.36} focus {602.08,490.70,1833.60} time 0.0
	queue camera move with position {620.15,500.00,1816.41} focus {775.99,475.00,1742.98} time 10.0
	queue camera move with position {1171.81,450.00,1739.32} focus {1524.22,400.00,1754.16} time 8.0
	queue camera move with position {1836.43,360.00,1833.34} focus {1948.75,330.00,1885.55} time 12.0
	queue camera move with position {1916.99,330.00,1869.99} focus {1915.54,299.67,1824.77} time 10.0
	play camera path with easein 20 easeout 8 method SCRIPT_CAMERAPATH_EQUALDISTANCE
	
	if L10AztecTownConversionMethod == 0
		L10AztecTownConversionMethod = number from 1 to 2
	end if

	if L10AztecTownConversionMethod == 1 //aggressive

		say "BW2T_SCRIPT_10FINAL_OUTRO_EVIL_10"
		//	AZTEC_GENERAL	How can this be? I am brought low by these Greeks! They call upon the divine energies for assistance. They fight in the shadow of some mighty god!
		wait until read
		say "BW2T_SCRIPT_10FINAL_OUTRO_EVIL_20"
		//	AZTEC_GENERAL	Their armies are powerful, their tactics sublime. But they will be stopped!
		wait until read
		
	elsif L10AztecTownConversionMethod == 2

		say "BW2T_SCRIPT_10FINAL_OUTRO_GOOD_10"
		//	AZTEC_GENERAL	These Greeks have built so mighty an empire upon this land. I vow to gather my forces and wreak terrible vengeance on them all!
		wait until read
		
		say "BW2T_SCRIPT_10FINAL_OUTRO_GOOD_20"
		//	AZTEC_GENERAL	These Greeks are aided by authority from above. They wield unstoppable Miracles. They are under the protection of some mighty power!
		wait until read
		
	end if

	say "BW2T_SCRIPT_10FINAL_OUTRO_PICKUP82"
	//	AZTEC_GENERAL	Do these Greeks dare to follow us to our capital?
	wait until read
		
	say "BW2T_SCRIPT_10FINAL_OUTRO_PICKUP83"
	//	AZTEC_GENERAL	 This would be foolish of them. But fools and wise men die just as easily.
	wait until read
		
	say "BW2T_SCRIPT_10FINAL_OUTRO_PICKUP84"
	//	AZTEC_GENERAL	Come quickly, my warriors. We must take flight! Perhaps the Greeks, sensing victory, will blindly follow us!
	wait until read
		
	say "BW2T_SCRIPT_10FINAL_OUTRO_PICKUP85"
	//	AZTEC_GENERAL	Ensure that the Epic Miracle is charged. I intend to make good use of it!
	wait until read

	eject evil spirit
		
	say "BW2T_SCRIPT_10FINAL_OUTRO_PICKUP86"
	//	EVIL_ADVISOR	We have to follow them and end this. We got no choice.
	wait until read

	eject good spirit
		
	say "BW2T_SCRIPT_10FINAL_OUTRO_PICKUP87"
	//	GOOD_ADVISOR	I fear he's right, Leader. But the Aztec people can still be saved. I am sure of that.
	wait until read
	
	enable atmos sound
	set atmos volume 1

end cinema

end script Land10Outro