Arma 3 Scripting

setMarkerBrush

  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · 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