Overview
Markers are objects used to insert an instance of data onto a map to create a special effect such as smoke, sun rays, water, or river flow.
When placed, markers themselves are only visible in the editor, with only the effects they produce being able to be seen in-game.
There are three types of markers: Action, Scar, and Water, each with their own unique function and settings.
Adding a Marker
Regardless of type, all markers are found within the Object Browser.
To add a marker to your map, Select it from the Object Browser and Drag it onto your map.
Once placed on your map, you can Right-Click it in the Scenario Tree (within whatever layer you placed it in) and choose +Add... to choose the Action you want to add.
Action Markers
Action markers are used to add effects to a map such as smoke, steam, or sun rays. There are two types of Action Markers, Single and Line.
- Single action markers add a single effect to a location.
- Line action markers can add multiple effects along a line.
Action Marker Properties
Action markers have a series of unique Time of Day and Weather settings that appear in the Properties panel whenever an action marker is selected.
- Time of Day
- Consisting of Dawn, Day, Dusk, and Night. These settings dictate the in-game time of day when the action marker object will appear.
- Weather
- Consisting of Dry, Rainy, Sunny, and Wet. These settings dictate the conditions in which the action marker object will appear.
Scar Markers
Scar Markers are used in scripting for missions or game modes to represent elements such as triggers, spawn locations, unit destinations, map section reference, and similar elements.
Scar Markers each have a:
- Position – you can drag the marker anywhere on the map
- Direction – you can rotate the marker to point a certain way
- Area – This is optional, and can be defined as a circle or a rectangle
Scar Markers also have a:
- Name – so you can reference the marker in script, and also hint as to what it's used for.
- Type – which functionally does nothing but lets you colour-code your markers so you can easily tell your spawn markers from your trigger zones.
In your script, these markers are referenced by MarkerIDs and are automatically generated for you. For each marker, the associated MarkerID will be stored in a global variable with the same name as the marker.
Water Markers
Water markers are used to either flood an area with water or add flowing water to a map.
There are two types of water markers: Water Flood and Water Flow.
A Water Flood marker will flood an area with shallow water.
A Water Flow marker will create a flow texture on water to create a river or similar water element in a designated direction. You can rotate the market to set the direction of the water flow.
Note that a Water Flow marker must be placed on an area filled with water, and has no effect if placed on land.