markerBrush: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(8 intermediate revisions by the same user not shown)
Line 17: Line 17:
|descr= Gets the marker brush. See [[setMarkerBrush]].
|descr= Gets the marker brush. See [[setMarkerBrush]].


|s1= '''markerBrush''' name
|s1= [[markerBrush]] name


|p1= name: [[String]] -
|p1= name: [[String]] - marker name


|r1= [[String]]
|r1= [[String]]


|x1= <code>[[if]] ('''markerBrush''' "Marker1" == "Solid") [[then]] {[[hint]] "Marker1 is solid!"}</code>
|x1= <sqf>if (markerBrush "Marker1" == "Solid") then { hint "Marker1 is solid!" };</sqf>


|seealso= [[setMarkerBrush]], [[setMarkerBrushLocal]]
|seealso= [[setMarkerBrush]] [[setMarkerBrushLocal]]
}}
}}

Latest revision as of 22:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Gets the marker brush. See setMarkerBrush.
Groups:
Markers

Syntax

Syntax:
markerBrush name
Parameters:
name: String - marker name
Return Value:
String

Examples

Example 1:
if (markerBrush "Marker1" == "Solid") then { hint "Marker1 is solid!" };

Additional Information

See also:
setMarkerBrush setMarkerBrushLocal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note