setfire=true;
titletext ["Click on the map to set your firedirection","plain down"];
onMapSingleClick "ATarget setpos _pos;setfire=false";
@!setfire;
"Firepoint" setMarkerPos getpos ATarget;
onMapSingleClick "";
[] exec "boom.sqs";
titletext ["","plain down"];
~15
"Firepoint" setMarkerPos [0,0] ;
exit;