khalcifer Posted June 26, 2017 Report Share Posted June 26, 2017 who can help me, why on map i can see only Cherno marker Spoiler // PVP - cherno _this = createMarker ["PVP Area", [6723.59, 2583.92]]; _this setMarkerShape "ELLIPSE"; _this setMarkerType "hd_warning"; _this setMarkerColor "ColorBlueFaded50"; _this setMarkerBrush "Grid"; _this setMarkerSize [450, 450]; _PVP = _this; _this = createMarker ["PVP", [6723.59, 2583.92]]; _this setMarkerText " PVP Area"; _this setMarkerType "Dot"; _this setMarkerColor "ColorBlack"; _this setMarkerBrush "Solid"; _this setMarkerSize [0.8, 0.8]; _PVP1 = _this; // PVP - zielono _this = createMarker ["PVP Area", [2783.23, 5379.68]]; _this setMarkerShape "ELLIPSE"; _this setMarkerType "hd_warning"; _this setMarkerColor "ColorBlueFaded50"; _this setMarkerBrush "Grid"; _this setMarkerSize [450, 450]; _PVP2 = _this; _this = createMarker ["PVP", [2783.23, 5379.68]]; _this setMarkerText " PVP Area"; _this setMarkerType "Dot"; _this setMarkerColor "ColorBlack"; _this setMarkerBrush "Solid"; _this setMarkerSize [0.8, 0.8]; _PVP3 = _this; // PVP - nwaf _this = createMarker ["PVP Area", [4531.69, 10258.1]]; _this setMarkerShape "ELLIPSE"; _this setMarkerType "hd_warning"; _this setMarkerColor "ColorBlueFaded50"; _this setMarkerBrush "Grid"; _this setMarkerSize [450, 450]; _PVP4 = _this; _this = createMarker ["PVP", [4531.69, 10258.1]]; _this setMarkerText " PVP Area"; _this setMarkerType "Dot"; _this setMarkerColor "ColorBlack"; _this setMarkerBrush "Solid"; _this setMarkerSize [0.8, 0.8]; _PVP5 = _this; // PVP - guglowo _this = createMarker ["PVP Area", [8467.73, 6674.86]]; _this setMarkerShape "ELLIPSE"; _this setMarkerType "hd_warning"; _this setMarkerColor "ColorBlueFaded50"; _this setMarkerBrush "Grid"; _this setMarkerSize [450, 450]; _PVP6 = _this; _this = createMarker ["PVP", [8467.73, 6674.86]]; _this setMarkerText " PVP Area"; _this setMarkerType "Dot"; _this setMarkerColor "ColorBlack"; _this setMarkerBrush "Solid"; _this setMarkerSize [0.8, 0.8]; _PVP7 = _this; // PVP - berezino _this = createMarker ["PVP Area", [12045.7, 9090.42]]; _this setMarkerShape "ELLIPSE"; _this setMarkerType "hd_warning"; _this setMarkerColor "ColorBlueFaded50"; _this setMarkerBrush "Grid"; _this setMarkerSize [450, 450]; _PVP8 = _this; _this = createMarker ["PVP", [12045.7, 9090.42]]; _this setMarkerText " PVP Area"; _this setMarkerType "Dot"; _this setMarkerColor "ColorBlack"; _this setMarkerBrush "Solid"; _this setMarkerSize [0.8, 0.8]; _PVP9 = _this; // PVP - mogilewka _this = createMarker ["PVP Area", [7605.05, 5102.02]]; _this setMarkerShape "ELLIPSE"; _this setMarkerType "hd_warning"; _this setMarkerColor "ColorBlueFaded50"; _this setMarkerBrush "Grid"; _this setMarkerSize [450, 450]; _PVP10 = _this; _this = createMarker ["PVP", [7605.05, 5102.02]]; _this setMarkerText " PVP Area"; _this setMarkerType "Dot"; _this setMarkerColor "ColorBlack"; _this setMarkerBrush "Solid"; _this setMarkerSize [0.8, 0.8]; _PVP11 = _this; // Event _this = createMarker ["PVP Area", [10586.4, 14212.4]]; _this setMarkerShape "ELLIPSE"; _this setMarkerType "hd_warning"; _this setMarkerColor "ColorBlueFaded50"; _this setMarkerBrush "Grid"; _this setMarkerSize [600, 600]; _Event = _this; _this = createMarker ["PVP", [10586.4, 14212.4]]; _this setMarkerText " PVP Area"; _this setMarkerType "Dot"; _this setMarkerColor "ColorBlack"; _this setMarkerBrush "Solid"; _this setMarkerSize [0.8, 0.8]; _Event1 = _this; Link to comment Share on other sites More sharing options...
Relentless Posted June 26, 2017 Report Share Posted June 26, 2017 Did you add that to the mission.sqm? juandayz 1 Link to comment Share on other sites More sharing options...
khalcifer Posted June 26, 2017 Author Report Share Posted June 26, 2017 yes i have fix it, need change name only and working juandayz 1 Link to comment Share on other sites More sharing options...
juandayz Posted June 26, 2017 Report Share Posted June 26, 2017 @khalcifer Seeing that your markers only change in the position values.. you can make it a lil more clean.. see //==============USER CONFIG =============\\ //====COORDS _pos0= [6723.59, 2583.92,0];//cherno _pos1= [2783.23, 5379.68,0];//zeleno _pos2= [4531.69, 10258.1,0];//norhWestAirfield _pos3= [8467.73, 6674.86,0];//guglovo _pos4= [12045.7, 9090.42,0];//berezino _pos5= [7605.05, 5102.02,0];//Mogilevka _pos6= [10586.4, 14212.4,0];//event //==RATIO MARKERS _Ratio_setMarkerType = "hd_warning"; _Ratio_setMarkerColor = "ColorBlueFaded50"; _Ratio_setMarkerBrush = "Grid"; _Ratio_setMarkerSize = [450, 450]; //==SOLID MARKERS _Solid_setMarkerType = "Dot"; _Solid_setMarkerColor = "ColorBlack"; _Solid_setMarkerBrush = "Solid"; _Solid_setMarkerSize = [0.8, 0.8]; //============== USER CONFIG =============\\ fn_solid = {_this setMarkerText "PVP Area";_this setMarkerType _Solid_setMarkerType;_this setMarkerColor _Solid_setMarkerColor;_this setMarkerBrush _Solid_setMarkerBrush;_this setMarkerSize _Solid_setMarkerSize;}; fn_ratio = {_this setMarkerShape "ELLIPSE";_this setMarkerType _Ratio_setMarkerType;_this setMarkerColor _Ratio_setMarkerColor;_this setMarkerBrush _Ratio_setMarkerBrush;_this setMarkerSize _Ratio_setMarkerSize;}; _this = createMarker ["m0",_pos0];call fn_solid; _this = createMarker ["m1",_pos1];call fn_solid; _this = createMarker ["m2",_pos2];call fn_solid; _this = createMarker ["m3",_pos3];call fn_solid; _this = createMarker ["m4",_pos4];call fn_solid; _this = createMarker ["m5",_pos5];call fn_solid; _this = createMarker ["m6",_pos6];call fn_solid; _this = createMarker ["m0a",_pos0];call fn_ratio; _this = createMarker ["m1a",_pos1];call fn_ratio; _this = createMarker ["m2a",_pos2];call fn_ratio; _this = createMarker ["m3a",_pos3];call fn_ratio; _this = createMarker ["m4a",_pos4];call fn_ratio; _this = createMarker ["m5a",_pos5];call fn_ratio; _this = createMarker ["m6a",_pos6];call fn_ratio; khalcifer 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now