#library "dogtags.acs"
#include "zcommon.acs"

//picks a random number from the list..
int x = 0;
script "TagNames" (void)
{
	switch(random(1,11))
	{
	case 1:
	x = 1;
	break;
	
	case 2:
	x = 2;
	break;
	
	case 3:
	x = 3;
	break;
	
	case 4:
	x = 4;
	break;
	
	case 5:
	x = 5;
	break;
	
	case 6:
	x = 6;
	break;
	
	case 7:
	x = 7;
	break;
	
	case 8:
	x = 8;
	break;
	
	case 9:
	x = 9;
	break;
	
	case 10:
	x = 10;
	break;
	
	case 11:
	x = 11;
	break;
	
	case 12:
	x = 12;
	break;
	
	case 13:
	x = 13;
	break;
	
	case 14:
	x = 14;
	break;
	
	case 15:
	x = 15;
	break;
	
	case 16:
	x = 16;
	break;
	
	case 17:
	x = 17;
	break;
	
	case 18:
	x = 18;
	break;
	
	case 19:
	x = 19;
	break;
	
	case 20:
	x = 20;
	break;
	
	case 21:
	x = 21;
	break;
	}
		
	ACS_NamedExecute("NameList", 0, 0, 0, 0);
}


//...assigns a name to the chosen number
script "NameList" (void)
{
	switch(x)
	{
	case 1:
	SetFont("CONFONT");
	HudMessage(s:"PFC. Sanders, Arlene";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
 
	case 2:
	SetFont("CONFONT");
	HudMessage(s:"COL. Tench, Dennis";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
 
	case 3:
	SetFont("CONFONT");
	HudMessage(s:"CPL. White, Harry";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 4:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Rodriguez, Anthony";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 5:
	SetFont("CONFONT");
	HudMessage(s:"SPC. Mitchell, Arlen";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 6:
	SetFont("CONFONT");
	HudMessage(s:"MSG. Armstrong, Dewey";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 7:
	SetFont("CONFONT");
	HudMessage(s:"SGT. Cheung, Ethan";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 8:
	SetFont("CONFONT");
	HudMessage(s:"CPL. Blevins, Liam";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 9:
	SetFont("CONFONT");
	HudMessage(s:"PV2. Mendelsohn, Jack";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 10:
	SetFont("CONFONT");
	HudMessage(s:"CPL. Shapiro, Benjamin";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 11:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Han, Liam";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 12:
	SetFont("CONFONT");
	HudMessage(s:"SSG. Kelley, Brock";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 13:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Masterson, Robert";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 14:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Bains, Aafreen";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 15:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Holland, Dave";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 16:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Kilgore, Alvin";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 17:
	SetFont("CONFONT");
	HudMessage(s:"PVT. King, Wayne";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 18:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Krofft, Josef";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 19:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Brady, Ronald";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 20:
	SetFont("CONFONT");
	HudMessage(s:"MSG. Acosta, Lincoln";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	case 21:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Davtyan, Armen";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	
	default:
	SetFont("CONFONT");
	HudMessage(s:"PVT. Brady, Ronald";
			HUDMSG_TYPEON,	//type
			0, 		 	 	//id
			CR_DARKGREEN,	//color
			0, 0,	 		//coordinates
			20);  	 	 	//holdtime
	break;
	}
}