
<script>
	<events>

		<event> 

		event_name|#on_enter_world_wait| --create a plane model named plane_me, make the fpsarcade camera its parent, place it in the upper left corner of the viewport and assign the marquee texture of the current gamelist model to its shader.
		object_layer|1|
		object_target|["plane_1_","plane_1_","plane_1_","plane_1_shd",#generic, "plane_1_shd"]|
		object_type|[#model,#model,#model,#shader,#generic, #shader]|
		object_property|[#create_model, #parent,#transform_position,#emissive,#state_save,#texturelist]|
		object_value|[[#cylinder,[25,50,rgb(0,0,0)]],scene.camera("arcadecam"),vector(-80,30,-170), rgb(255,255,255),[#current_marquee,"scene.model(numToChar(67)&numToChar(89)&numToChar(76)&numToChar(67)&numToChar(65)&numToChar(66)&numToChar(78)&g3dpositions.getat(g3dpos)).shaderlist[2].texturelist[1]"],[#state_variable, #current_marquee]]|

		</event>

		<event> 

		event_name|#on_focus_trigger_wait| 
		event_trigger|#game| --the event will be triggered when any of the gamelist models gets focus.

		object_layer|1|
		object_target|[#generic,"plane_1_shd"]|
		object_type|[#generic,#shader]|
		object_property|[#state_save,#texturelist]|
		object_value|[[#current_marquee,"scene.model(numToChar(67)&numToChar(89)&numToChar(76)&numToChar(67)&numToChar(65)&numToChar(66)&numToChar(78)&g3dpositions.getat(g3dpos)).shaderlist[2].texturelist[1]"],[#state_variable, #current_marquee]]|

		</event>

		<event> 

		event_name|#on_leave_world_wait| --remove the plane model and its shaders and resource
		object_layer|1|
		object_target|["plane_1_", "plane_1_shd", "plane_1_res"]|
		object_type|[#model, #shader, #modelresource]|
		object_property|[#deletemodel,#deleteshader,#deletemodelresource]|
		object_value|["plane_1_", "plane_1_shd", "plane_1_res"]|

		</event>

		<event> 

		event_name|#on_enter_world| 
		object_target|["plane_1_"]|
		object_type|#model|
		object_property|#rotate| 
		object_value|[[0,4,0,#self]]|

		segment_order|#sequentional|
		segment_position|1|

   			<segments>
			
    				<segment>
				start|1|
				end|1|
				position|1|
				loop|0|
				frequency|100|
        			</segment>

			</segments>

		</event>

	</events>
</script>