markerShadow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command |game1= arma3dev |version1= 2.01 |descr= Returns if the marker is drawn with shadow enabled. |pr= setMarkerType will reset the shadow value to the one define...")
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3dev
|game1= arma3
 
|version1= 2.04
|version1= 2.01


|descr= Returns if the marker is drawn with shadow enabled.
|descr= Returns if the marker is drawn with shadow enabled.
Line 11: Line 10:
|gr1= Markers
|gr1= Markers


|s1= [[{{PAGENAMEE}}]] marker
|s1= [[markerShadow]] marker


|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></code>
|x1= <sqf>private _shadowEnabled = markerShadow _myMarker;</sqf>


|seealso= [[setMarkerShadow]] [[setMarkerShadowLocal]]
|seealso= [[setMarkerShadow]] [[setMarkerShadowLocal]]
}}
}}

Latest revision as of 15:50, 8 November 2023

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:
private _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