Jump to content
  • 0

Custom map markers?


Three Plus

Question

5 answers to this question

Recommended Posts

  • 0

I've been trying to add custom map markers to my server but they just wont work. This is the tutorial I'm using and its just not working.

Anyone have a guaranteed working version?

i run it from init.sqf

example:

 [] execVM "marker_1_pos.sqf";
 [] execVM "marker_1_name.sqf";
marker_1_pos.sqf
_this = createMarker ["each marker name must to be different", [3000.6, 10000.1, 0]];
_this setMarkerShape "ELLIPSE";
_this setMarkerColor "ColorRed";
_this  setMarkerAlpha 0.9;
_this setMarkerSize [100, 100];
marker_1_name.sqf

 

_this = createMarker ["each marker name must to be different", [3000.6, 10000.1, 0]];
_this setMarkerText "Text on Map";
_this setMarkerType "mil_dot";
_this setMarkerColor "ColorBlack";
Link to comment
Share on other sites

  • 0

No reason that way won't work, post your 'Class Markers' info and i'll have a look.

Sorry for the late reply's I always forget to set it to notify me.

	class Markers
	{
		items=4;
		class Item0
		{
			position[]={14939.934,0.053499073,15083.272};
			name="center";
			type="Empty";
		};
		class Item1
		{
			position[]={23600.639,3.1900001,18000.721};
			name="respawn_east";
			type="Empty";
		};
		class Item2
		{
			position[]={23600.611,3.1900001,18000.768};
			name="respawn_west";
			type="Empty";
        };
		class item3
		    position[]={14519.2,0,13325.4};
			name="test";
			text="test";
			type="hd_objective";
			colorName="ColorRed";
		};
	};
};

This is what I was trying to use and it didn't work. But a similar setup to the one Sadboy posted worked.

The spacing is a little broken in the post but its fine in my actual mission sqm

Edited by Three Plus
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...