Page MenuHomeFeedback Tracker

Add ability to create markers via description.ext
New, LowPublic

Description

Add ability to create markers at missionConfig level with CfgMarkers in description.ext.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Feature Request
Steps To Reproduce
import Flagfrom CfgMarkers;
class CfgMarkers
{
    class respawn_plane: Flag
    {
        scope = 1; //Accessibility 1=public, 0=private
        name = "Plane Respawn"; //Name used in the Editor and other UIs
        icon = "markers\respawn_plane_ca.paa"; //Marker icon
        texture = "markers\respawn_plane_ca.paa"; // image in mission pbo
        color[] = {0, 0, 0, 1}; //Color used for the icon and text
        shadow = 0; //1=Shadow, 0=No shadow
        markerClass = "NATO_Respawn"; //?
        side = 1; //Side ID
        size = 32; //Default icon size
        showEditorMarkerColor = 1; //Whether to show icon color in the editor
    };
};
private _mkr = createMarker ["test", getPos player];
_mkr setMarkerType "respawn_plane";

Event Timeline

severgun created this task.Jul 26 2021, 9:33 AM
dedmen lowered the priority of this task from Normal to Low.Jul 26 2021, 11:09 AM
dedmen added a subscriber: dedmen.

Unlikely