Marker control - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki

Description

The marker_control module allows missions makers to restrict certain markers to only be visible to certain sides, including the option to delete the marker(s) after the briefing screen.

Usage

  1. Go to modules>modules.sqf and enable the marker_control module.
  2. Place your marker(s) down in the editor and give it a variable name.
  3. Go to modules>marker_control>settings.sqf

Below is an example of the code you'll place.

[blufor, "markerBlu", true] call FUNC(Add);

blufor - This is the side you wish to be able to see the marker. You can use sides blufor, opfor, indfor, civilian.
markerBlu - The variable name of the marker you placed.
true - This is whether the marker will be deleted after briefing screen. Set true to delete or false to keep the marker.

You can also do one marker for several side like so

[[blufor, opfor],"bluforMarkers", true] call FUNC(Add);

If you wish to hide an entire layer of markers instead of doing them one by one, you can use the FUNC(Addlayer) func like so

[blufor, "bluforMarkers", true] call FUNC(Addlayer);

blufor - This is the side you wish to be able to see the marker. You can use sides blufor, opfor, indfor, civilian.
bluforMarkers - The name of the layer in the editor.