params["_unit", ["_force", "army", ["army", "air_force", "navy"]], ["_type", "heli", ["heli", "transport", "fighter"]]];

switch (_force) do {
	case "army": {
		_armyAviationBattalions = [
			"1bavex",
			"2bavex",
			"3bavex",
			"4bavex"
		];

		[_unit, selectRandom _armyAviationBattalions] call braf_fnc_setFlightsuitInsignias;
	};
	case "air_force": {
		switch (_type) do {
			case "heli": {
				_heliSquadrons = [
					"harpia",
					"pantera",
					"poti",
					"puma",
					"pelicano"
				];

				[_unit, selectRandom _heliSquadrons] call braf_fnc_setFlightsuitInsignias;
			};
			case "transport": {
				_transportSquadrons = [
					"arara",
					"gordo",
					"onca"
				];

				[_unit, selectRandom _transportSquadrons] call braf_fnc_setFlightsuitInsignias;
			};
			case "fighter": {
				_fighterSquadrons = [
					"jaguar",
					"centauro",
					"escorpiao",
					"flecha",
					"grifo",
					"poker",
					"jambock",
					"joker",
					"pacau",
					"pampa",
					"pifpaf"
				];

				[_unit, selectRandom _fighterSquadrons] call braf_fnc_setFlightsuitInsignias;
			};
			default {
				[_unit, "jambock"] call braf_fnc_setFlightsuitInsignias;
			};
		};
	};
	case "navy": {
		switch (_type) do {
			case "heli": {
				_heliSquadrons = [
					"aguia",
					"pegasus",
					"hipogrifo",
					"albatroz",
					"gaviao",
					"tucano",
					"guerreiro",
					"lince",
					"garça"
				];

				[_unit, selectRandom _heliSquadrons] call braf_fnc_setFlightsuitInsignias;
			};
			case "fighter": {
				[_unit, "falcao"] call braf_fnc_setFlightsuitInsignias;
			};
			default {
				[_unit, "aguia"] call braf_fnc_setFlightsuitInsignias;
			};
		};
	};
	default {};
};