public void SetAllAdvanced(GameEngine gm, String name, String text, int posX, int posY, String fontName, int fontSize,
								boolean customFont, int red, int green, int blue, int alpha)
	{
		//Setting the game engine
		game = gm;
		
		//Setting the text object variables
		stringName = name;
		stringText = text;
		intFontSize = fontSize;
		intPosX = posX;
		intPosY = posY;
		
		//Setting the red value
		if (red > 255) { intRed = 255; }
		else if (red < 0) { intRed = 0; }
		else { intRed = red; }
		
		//Setting the green value
		if (green > 255) { intGreen = 255; }
		else if (green < 0) { intGreen = 0; }
		else { intGreen = green; }
		
		//Setting the blue value
		if (blue > 255) { intBlue = 255; }
		else if (blue < 0) { intBlue = 0; }
		else { intBlue = blue; }
		
		//Setting the alpha value
		if (alpha > 255) { intAlpha = 255; }
		else if (alpha < 0) { intAlpha = 0; }
		else { intAlpha = alpha; }
		
		//Getting the font
		GetFont(fontName, customFont);
		
		//Setting the object ID
		intObjectID = game.objRandom.nextInt();
		
		//Checking the object ID
		CheckAndCorrectID();
	}