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 (Some wiki formatting)
(One intermediate revision 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]]
}}
}}

Revision as of 18:30, 5 May 2022

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