Arma 3 Scripting

Command in Markers

setMarkerBrush

Also available as Markdown and JSON, or read the original wiki page.

Description

Selects the fill texture for the marker ("RECTANGLE" or "ELLIPSE"). Brush is the name of the subclass in CfgMarkerBrushes.

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).

Syntax

markerName setMarkerBrush brush

Parameters:

Returns: Nothing

Examples

Example 1

"Marker1" setMarkerBrush "DIAGGRID";

See also

setMarkerAlpha · setMarkerAlphaLocal · setMarkerBrushLocal · setMarkerColor · setMarkerColorLocal · setMarkerDir · setMarkerDirLocal · setMarkerPos · setMarkerPosLocal · setMarkerShape · setMarkerShapeLocal · setMarkerSize · setMarkerSizeLocal · setMarkerText · setMarkerTextLocal · setMarkerType · setMarkerTypeLocal