setMarkerShadow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (version)
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


|eff= global
|eff= global
Line 13: 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