LoOni3r 6 Posted April 22, 2020 hi Guys, I want to insert a map marker. Arma reports not found. I have a mistake here? thanks description.ext class CfgMarkers { class Markers { name = "BusStop"; icon = "\A3\ui_f\data\Map\MapControl\busstop_CA.paa"; color[] = {1,0,0,1}; size = 32; shadow = 1; scope = 0; }; }; ... and other sqf ... _mkr setMarkerType "BusStop"; Share this post Link to post Share on other sites
opusfmspol 280 Posted April 22, 2020 scope 0 is private. Needs to be scope 1 or 2. Share this post Link to post Share on other sites
LoOni3r 6 Posted April 22, 2020 No .. I'm not sure if the marker path is correct I have the for testing busstop_CA.paa filed in the top missions folder and icon = "busstop_CA.paa";' used without success Share this post Link to post Share on other sites
opusfmspol 280 Posted April 22, 2020 Seems cfgMarkers is not listed on Description.ext page, so might not be one of the supported classes. 1 Share this post Link to post Share on other sites
LoOni3r 6 Posted April 22, 2020 class CfgMarkers{...} I have in the Description.ext recorded and reloaded eden that's what it looks like right now with me Description: class CfgMarkers { class Flag { name = "BusStop"; icon = "busstop.paa"; color[] = {1, 0, 0, 1}; size = 32; shadow = true; scope = 2; }; }; other sqf .... _mkrname = ["BusStop",getPos _x] joinString ""; _mkr = createMarker [_mkrname, getPos _x]; _mkr setMarkerType "BusStop"; _mkr setMarkerText ""; ... Share this post Link to post Share on other sites
Harzach 2517 Posted April 22, 2020 As @opusfmspol said, cfgMarkers is not supported in Description.ext. You can't add a custom marker that way, you need to make an addon. Share this post Link to post Share on other sites
LoOni3r 6 Posted April 23, 2020 aso is not supported. sorry i understood the opposite. then I have to see how I do it with an addon. I've never had that before. many thanks for your help Share this post Link to post Share on other sites
LoOni3r 6 Posted May 16, 2020 Hello, I have now created my own addon. class CfgPatches{ class Config_Test_Markers { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; class CfgMarkerClass { class testcategory { displayname = "test category"; }; }; class CfgMarkers { class testcategory { name = "BusStop"; icon = "\A3\ui_f\data\Map\MapControl\busstop_CA.paa"; color[] = {1,0,0,1}; size = 32; shadow = 1; scope = 2; markerClass = "testcategory"; }; }; for my understanding that should work. Arma doesn't like it and crashes. do I have to look for something else that I don't know? Share this post Link to post Share on other sites