Jump to content
Sign in to follow this  
jacmac

Custom Map Markers

Recommended Posts

If I define this in description.ext (assume the icon is located in a directory called markers):

class CfgMarkers
{
 	class TEST_Cross 
{
    name = "Simple_Cross";
    icon = "markers\cross_ca.paa";
    color[] = COLOR_GOLD;
    markerClass = "draw";
    size = 24;
    shadow = 0;
    scope = 1;
};
};

Should this work?

TESTMapClick = 
{
_pos = _this select 0;
_marker = createMarker ["Marker1", _pos];
_marker setMarkerType "TEST_Cross";
};

What I'm getting is an error stating No Entry bin\config.bin/CfgMarkers.TEST_Cross

I'm not sure how to declare the class. I saw a similar class declaration on the biki at https://community.bistudio.com/wiki/cfgMarkers

But I actually declared it using properties found in the Config Viewer for CfgMarkers in Arma 3.

Edited by Jacmac

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×