// This is the text used for the credits. It simply fades in and out when it sees the signal from it's parent.

	let entity_type = ENT_TYPE_PERMANENT_MENU_ENTITY

	let draw_order = MENU_TEXT_DRAW_ORDER

	let draw_mode = DRAW_MODE_SPRITE

	let opengl_vertex_alpha = 0

	let sprite = font[arb]

	let opengl_booleans = opengl_boolean_blend_add + opengl_boolean_vertex_colour_alpha

start

	if parent.signal = FALSE then
		let opengl_vertex_alpha = opengl_vertex_alpha - 15 !< 0
		if opengl_vertex_alpha = 0 then
			kill_entity own_id
		end_if
	else
		let opengl_vertex_alpha = opengl_vertex_alpha + 15 !> 255
	end_if

end

