setMarkerShadow: 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 16: Line 16:
|p1= marker: [[String]] - The marker
|p1= marker: [[String]] - The marker


|p2= shadowState: [[Boolean]] - [[true|True]] to enable the shadow, [[false]] to disable it
|p2= shadowState: [[Boolean]] - [[true]] to enable the shadow, [[false]] to disable it


|r1= [[Nothing]]
|r1= [[Nothing]]

Revision as of 20:20, 25 September 2021

Hover & click on the images for description

Description

Description:
Sets the shadow property of given marker.
Problems:
setMarkerType will reset the shadow value to the one defined in marker type.
Groups:
Markers

Syntax

Syntax:
marker setMarkerShadow shadowState
Parameters:
marker: String - The marker
shadowState: Boolean - true to enable the shadow, false to disable it
Return Value:
Nothing

Examples

Example 1:
_myMarker setMarkerShadow true; // Enable shadow

Additional Information

See also:
markerShadow 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