markerShadow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "True" to "true")
Line 14: Line 14:
|p1= marker: [[String]] - The marker
|p1= marker: [[String]] - The marker


|r1= [[Boolean]]: [[true|True]] if marker is enabled, [[false]] if not
|r1= [[Boolean]]: [[true]] if marker is enabled, [[false]] if not


|x1= <code>_shadowEnabled = [[markerShadow]] _myMarker;</code>
|x1= <code>_shadowEnabled = [[markerShadow]] _myMarker;</code>

Revision as of 19:24, 25 September 2021

Hover & click on the images for description

Description

Description:
Returns if the marker is drawn with shadow enabled.
Problems:
setMarkerType will reset the shadow value to the one defined in marker type.
Groups:
Markers

Syntax

Syntax:
markerShadow marker
Parameters:
marker: String - The marker
Return Value:
Boolean: true if marker is enabled, false if not

Examples

Example 1:
_shadowEnabled = markerShadow _myMarker;

Additional Information

See also:
setMarkerShadow setMarkerShadowLocal

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