if (hasInterface) then {
player removeAction FireLaser;
sleep 1;
[
[
["ARC REACTOR STATUS:", "<t align = 'center' color = '#ffffff' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>"],
["Powering up...", "<t align = 'center' color = '#FF0000' shadow = '1' size = '0.7'>%1</t><br/>"],
["Awaiting Target Co-ordinates", "<t align = 'center' color = '#00DD14' shadow = '0' size = '1.0' font = 'PuristaMedium'>%1</t>", 15]
]
] spawn BIS_fnc_typeText;
hint "Click on the map position to authenticate the target";
openMap [true,false];
onMapSingleClick "
spawn {
FireLaser = ""Land_HelipadEmpty_F"" createVehicle _pos;
FireLaser setVehicleVarName ""beamTarget"";
beamTarget = FireLaser;
[beamTarget, [0,0,1], [0.3,0.27,0.15]] remoteExec [""DREAM_beam_fnc_beam"", 0, false]};
_handle = execVM ""server\satcomLaser\laserFired.sqf"";
onMapSingleClick '';
openMap [false, false];
};
true";
waitUntil {!visibleMap};
onMapSingleClick "";
};
Try this maybe it works (not tested)