Difference between revisions of "Eden Editor: Marker"
(updated incorrect data)
|Line 80:||Line 80:|
| Marker brush (
| Marker brush (command [[markerBrush]]).
Latest revision as of 18:05, 26 August 2018
A marker is an image shown on the player's map. It is visible by each player, and it is visible only on the map, not in the scene.
A marker can be an icon. It is a single image which has a constant size on the screen when zooming the map in and out. When you set its text, it will be shown on its right side. It is used to mark points of interest, like an enemy base or an insertion point.
Markers can also be areas. Their size is set in meters and is constant in the world space. They are used for marking specific zones, such as an enemy area or border line. Similarly to trigger areas, the marker area can also be edited using area scaling widget.
The area is always shown, but by default you cannot interact with it. However, when the marker is selected, you can drag it by its area as well.
Markers are a powerful tool for explaining your intentions to the player with little or no text. Do not forget to use them while designing your scenario.
|Type||Type||Marker type (script command markerType).||itemClass||String|
|Variable Name||Init||Unique system name. Can contain any characters. The name is not case sensitive, so 'someName' and 'SOMENAME' are treated as the same variables.||markerName||String|
|Text||Init||Text displayed on the right of the marker (script command markerText).||text||String|
|Size||Transformation||Area size in meters (script command markerSize).||size2||Array|
|Position||Transformation||World coordinates in meters (script command markerPos). X goes from West to East and Y from South to North, Z goes from down up. NOTE that after dragging marker around, Z, which was showing elevation in format PositionASL could reset and get stuck on 0.||position||PositionASL|
|Rotation||Transformation||Marker direction in degrees (script command markerDir).||rotation||Number|
|Shape||Style||Marker shape (script command markerShape).
|Brush||Style||Marker brush (script command markerBrush).||brush||String|
|Color||Style||Marker color (script command markerColor).||baseColor||String|
|Alpha||Style||Marker transparency (script command markerAlpha). When the icon marker has a shadow, it will be visible behind the transparent icon.||alpha||Number|