markerBrush: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
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]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 23: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