#include "NavLights\scripts\functions.sqf"

[heli, "SH602"] call setNl;
[h2, "SH60"] call setNl;
[h3, "AH1"] call setNl;
[h4, "CH47"] call setNl;
[h5, "A10"] call setNl;
[h6, "C130"] call setNl;

actions_menus_unit =
[
	[[], "Criar Mash", "mash\scripts\create_mash.sqf", -1000]
];

sleep 1;

{
	_units = _x select 0;
	
	if( count _units > 0 )then
	{
		player sideChat format["%1", _units select 0];
	}else{
		player sideChat format["%1", name player];
	};
	
} forEach actions_menus_unit;


light1 = "#lightpoint" createVehicleLocal position landpoint;
light1 setLightBrightness 0.1;
light1 setLightAmbient[0.0, 0.0, 0.0];
light1 setLightColor[1.0, 1.0, 0.7];
light1 lightAttachObject [landpoint, [0,0,20]];


light2 = "#lightpoint" createVehicleLocal position landpoint;
light2 setLightBrightness 0.2;
light2 setLightAmbient[0.0, 0.0, 0.0];
light2 setLightColor[1.0, 1.0, 0.7];
light2 lightAttachObject [landpoint, [0,-35,5]];

waitUntil { !isNull player };
waitUntil { player == player };






doStop _heli;



