Jump to content
  • 0

Map Markers,


Liqu1dShadow

Question

To add Map Markers for the content I have added do I just do it the same way as in Arma2 in the mission SQM?

 

 

class Markers
    {
        items=31;
        class Item0
        {
            position[]={7839.6055,381.33774,8414.7324};
            name="center";
            type="Empty";
        };
        class Item1
        {
            position[]={-7245.377,365.98782,19535.367};
            name="respawn_west";
            type="Empty";
        };
        class Item2
        {
            position[]={4932.3345,0.39950246,1989.1094};
            name="spawn0";
            type="Empty";
        };
        class Item3
        {
            position[]={2236.0391,0.63119155,1923.3735};
            name="spawn1";
            type="Empty";
        };
 

Etc Etc

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

To add Map Markers for the content I have added do I just do it the same way as in Arma2 in the mission SQM?

 

 

class Markers

    {

        items=31;

        class Item0

        {

            position[]={7839.6055,381.33774,8414.7324};

            name="center";

            type="Empty";

        };

        class Item1

        {

            position[]={-7245.377,365.98782,19535.367};

            name="respawn_west";

            type="Empty";

        };

        class Item2

        {

            position[]={4932.3345,0.39950246,1989.1094};

            name="spawn0";

            type="Empty";

        };

        class Item3

        {

            position[]={2236.0391,0.63119155,1923.3735};

            name="spawn1";

            type="Empty";

        };

 

Etc Etc

Yes, you can add it to mission.sqm file - if you add it correctly it will then be downladed to each client when they join the MP game and executed immediately.

Alternatively you can add it as an sqf, below in the spoiler is a tested & working code for Arma 3 - it works just the same way, only resides in a different file on the MP server and of course you will need to call this SQF file somewhere such as from "<mission_directory>/init.sqf".

 

markerStringTestMarker4 = createMarker["TestMarker4", [10934.7, 14334.4]];
markerStringTestMarker4 setMarkerType "mil_dot";
markerStringTestMarker4 setMarkerShape "ICON";
markerStringTestMarker4 setMarkerColor "ColorRed";
markerStringTestMarker4 setMarkerText "Test Marker 4";

 

Good luck!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...