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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|gr1= Markers
|gr1= Markers


|s1= marker [[{{PAGENAMEE}}]] shadowState
|s1= marker [[setMarkerShadow]] shadowState


|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]]


|x1= <code>_myMarker [[setMarkerShadow]] [[true]]; {{cc|Enable shadow}}</code>
|x1= <sqf>_myMarker setMarkerShadow true; // enable shadow</sqf>


|seealso= [[markerShadow]] [[setMarkerShadowLocal]]
|seealso= [[markerShadow]] [[setMarkerShadowLocal]]
}}
}}

Latest revision as of 15:50, 8 November 2023

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