// Script para chamar a manicaca nas fardas do exército
// Autor: Valmo Trindade

params["_unit", "_tab"];

switch (_tab) do {
	case "aeromovel": {
		_unit setObjectTextureGlobal [15, "braf\braf_insignia\uniform\tab\aeromovel_CO.paa"];
		_unit setObjectMaterialGlobal [15, "braf\braf_insignia\uniform\tab\aeromovel.rvmat"];
	};
	case "caatinga": {
		_unit setObjectTextureGlobal [15, "braf\braf_insignia\uniform\tab\caatinga_CO.paa"];
		_unit setObjectMaterialGlobal [15, "braf\braf_insignia\uniform\tab\caatinga.rvmat"];
	};
	case "montanha": {
		_unit setObjectTextureGlobal [15, "braf\braf_insignia\uniform\tab\montanha_CO.paa"];
		_unit setObjectMaterialGlobal [15, "braf\braf_insignia\uniform\tab\montanha.rvmat"];
	};
	case "pantanal": {
		_unit setObjectTextureGlobal [15, "braf\braf_insignia\uniform\tab\pantanal_CO.paa"];
		_unit setObjectMaterialGlobal [15, "braf\braf_insignia\uniform\tab\pantanal.rvmat"];
	};
	case "selva": {
		_unit setObjectTextureGlobal [15, "braf\braf_insignia\uniform\tab\selva_CO.paa"];
		_unit setObjectMaterialGlobal [15, "braf\braf_insignia\uniform\tab\selva.rvmat"];
	};
	case "specops": {
		_unit setObjectTextureGlobal [15, "braf\braf_insignia\uniform\tab\specops_CO.paa"];
		_unit setObjectMaterialGlobal [15, "braf\braf_insignia\uniform\tab\specops.rvmat"];
	};
	default {
		_unit setObjectTextureGlobal [15, ""];
		_unit setObjectMaterialGlobal [15, ""];
	};
};