Jump to content

Custom Map Markers


Diceman

Recommended Posts

I am using this below and trying to call it from the init.sqf but no map markers are showing in-game.

 

 

_marker = createMarker ["High Loot Military Compound", [4650.1616, 2493.2112, -1.2397766e-005];
_marker setMarkerText "High Loot Military Compound";
_marker setMarkerTypeLocal "mil_destroy"; 
_marker setMarkerColorLocal "ColorRed";
 

 

 

Link to comment
Share on other sites

PublicVariable "High Loot Military Compound";

 

also, I think you need to be calling the 'set' functions with the string name, not the object. Clients will not see changes made to the marker until you broadcast it with the PublicVariable statement.

 

ex:

"Test_Zone_Two" setMarkerPos _testingpos;
    "Test_Zone_Two" setMarkerAlpha 1;
    "Test_Zone_Two" setMarkerType "mil_dot";
    "Test_Zone_Two" setMarkerText "Testing Range";
    publicVariable "Test_Zone_Two";
Link to comment
Share on other sites

That works for me:

 

as marker.sqf:

 

diag_log "Marker 9";

_marker = createMarker ["Marker9",[14295.497,13030.288,4.7393112]];
_marker setMarkerType "";
"Marker9" setMarkerText "STAY AWAY!!";
"Marker9" setMarkerColor "ColorOrange";

 

 

 

called in init.sqf

// Marker
[] execVM "custom\marker.sqf";

Link to comment
Share on other sites

tried everything i can adding exceptions to BE filters but no matter wat i add i get kick for this

 

01.01.2015 21:00:32: bry (87.64.216.27:2304) 00647c9952f857dacb8dccd62acd587d - #41 "reateMarker ["Marker1",[6583.8008, 14178.728, 0]];
_marker setMarkerType "";
"Marker1" setMarkerText "AI city NO building!!";
"M"
 
anyone got the BE filter to stop this since i dont seem to be adding the exception right
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...