The "markerType" attribute for markers will not change from -1 to 0 or 1 for the creation of areas.
However, the command will switch an area to an icon. (0 or 1 to -1)
The "markerType" attribute for markers will not change from -1 to 0 or 1 for the creation of areas.
However, the command will switch an area to an icon. (0 or 1 to -1)
Full code to execute together:
_new = create3DENEntity["marker", "rectangle", [worldSize / 2, worldSize / 2, 0]];
_new set3DENAttribute ["markerType", 0];
_new get3DENAttribute "markerType";
Fixed in revision: 147769
m = create3DENEntity ["Marker", "", position player]; // default rectangle marker m set3DENAttribute ["markerType", 1]; //0 - rectangle; 1- ellipse m set3DENAttribute ["brush", "DiagGrid"];