Igor Nikolaev 511 Posted November 9, 2015 I found this in campaign. When I zoom, markers appearing at the map. But when not, I can't see them. How to do such kind of markers on my own missions?Before zooming: After zooming: Share this post Link to post Share on other sites
bull_a 44 Posted November 9, 2015 Take a look at this command ctrlMapScale You could write something like this: ZOOM_MARKERS = ["MapMarker_1", ...]; (findDisplay 12) displayCtrl 51 ctrlAddEventHandler ["Draw",{ _mapControl = _this select 0; _mapScale = ctrlMapScale _control; _zoomMarkers = ZOOM_MARKERS; for "_i" from 0 to ((count _zoomMarkers) - 1) do { _zoomMarker = _zoomMarkers select _i; if (_mapScale <= 0.1) then { _zoomMarker setMarkerAlphaLocal 1; } else { _zoomMarker setMarkerAlphaLocal 0; }; }; }; I would have a look through the campaign mission .pbo's and see how the devs have gone about doing it. The missions you are looking for are in "mission_f_ep*.pbo" Hope this points you in the right direction, Bull Share this post Link to post Share on other sites