Description
Selects shape (actual type) of the marker. Non-existing marker shape defaults to "RECTANGLE".
Syntax
markerName setMarkerShape shape
Parameters:
markerName: Stringshape: String - the shape, can be one of:"ICON""RECTANGLE""ELLIPSE"- Arma 3 v1.60
"POLYLINE" - Arma 3 v2.20
"TRIANGLE" - Arma 3 v2.20
"PENTAGON" - Arma 3 v2.20
"HEXAGON" - Arma 3 v2.20
"HEPTAGON" - Arma 3 v2.20
"OCTAGON" - Arma 3 v2.20
"NONAGON" - Arma 3 v2.20
"DECAGON"
Returns: Nothing
Examples
Example 1
"Marker1" setMarkerShape "RECTANGLE";
Multiplayer
Note
Multiplayer optimisation: Global marker commands always broadcast the entire marker state over the network. As such, the number of network messages exchanged when creating or editing a marker can be reduced by performing all but the last operation using local marker commands, then using a global marker command for the last change (and subsequent global broadcast of all changes applied to the marker).