Difference between revisions of "markerShadow"

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 (example)
Line 17: Line 17:
 
|r1= [[Boolean]]: [[true|True]] if marker is enabled, [[false]] if not
 
|r1= [[Boolean]]: [[true|True]] if marker is enabled, [[false]] if not
  
|x1= <code></code>
+
|x1= <code>_shadowEnabled = [[markerShadow]] _myMarker;</code>
  
 
|seealso= [[setMarkerShadow]] [[setMarkerShadowLocal]]
 
|seealso= [[setMarkerShadow]] [[setMarkerShadowLocal]]
 
}}
 
}}

Revision as of 17:00, 7 January 2021

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.01|2.01]]
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

[[Category:Introduced with arma3dev version 2.01]][[ Category: arma3dev: New Scripting Commands | MARKERSHADOW]][[ Category: arma3dev: Scripting Commands | MARKERSHADOW]]