screen Story
{
onaction escape "event FinishedReadingStory"

	widget Button Background
	{
		mins 80, 10
		size 640, 600

		texture "data/gfx/ui/story/story_background"
	}

	widget EffectEmitter lightning_orb
	{
		mins 400, 83
	
		effectName "HUD_lightning_orb_big_01"
		StartOn
	}
	
	widget Label StageLabel
	{
		mins 275, 130
		size 250, 30
		text "Stage #"
		EventToPopulateFrom "SetStageDisplayText"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Gold32Text"
	}

	widget Label StoryText
	{
		mins 170, 170
		size 450, 300
		
		EventToPopulateFrom "SetStoryText"
		
		wordWrap
		textAlignment "left"
		textVerticalAlignment "top"
		
		style "DisplayText"
	}

	widget Button Ok
	{
		onaction enter "event FinishedReadingStory"
		
		EventToHideOn "LevelComplete"
		EventToShowOn "EndLoadingScene"
		
		hidden

		mins 366, 540
		size 64, 26

		text "OK"
		textAlignment "center"
		textVerticalAlignment "top"
		
		style "Luxor2Style03"
	}
	
	animation In
	{
		animHandoffTime 0
		init screen					color=( 255,255,255,0 )

		at 0 ms consoleCommand "event StartLoading"
		at 0 ms colorScreen			from ( 255,255,255,0 ) to ( 255,255,255,255 ) over 300 ms speed=Cosine
	}


	animation Out
	{
		init screen					color=( 255,255,255,255 )
		at 0 ms colorScreen			from ( 255,255,255,255 ) to ( 255,255,255,0 ) over 300 ms speed=Cosine
	}
}
