Jump to content
  • 0

Coloured borders around markers


bumnutz72

Question

I bet this is a easy answer, I have looked and searched on the forums but I am confused.

How can I place a border around a marker please? 
I know it goes in along with the creation and markerbrush etc but I’m just confused,  all I want to do is put a coloured border around the marker, and if anyone can help it is greatly appreciated.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
19 hours ago, bumnutz72 said:

I bet this is a easy answer, I have looked and searched on the forums but I am confused.

How can I place a border around a marker please? 
I know it goes in along with the creation and markerbrush etc but I’m just confused,  all I want to do is put a coloured border around the marker, and if anyone can help it is greatly appreciated.

Just use 2 markers on same place like this:

// markers.sqf

_i = 0;

...

// Zone Alpha
_i = _i + 1;
_marker = createMarker [("_marker" + str(_i)), [8051,13555]];
_marker setMarkerShape "ELLIPSE";
_marker setMarkerColor "ColorBrown";
_marker setMarkerBrush "DiagGrid";
_marker setMarkerSize [300,300];
_i = _i + 1;
_marker	= createMarker [("_marker" + str(_i)), [8051,13555]];
_marker	setMarkerColor "ColorBlack";
_marker	setMarkerType "mil_dot";
_marker	setMarkerText "Zone Alpha";

Put this file in mission folder and add this line

[] execVM "markers.sqf";

somewhere near end of init.sqf.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...