setMarkerDrawPriority: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 7: | Line 7: | ||
|eff= local | |eff= local | ||
|descr= Sets marker draw priority. Higher priority markers are drawn on top. Default priority is 0. {{Feature|important|Be aware that this command has '''local''' effect despite the command name missing the world '''local'''!}} | |descr= Sets marker draw priority. Higher priority markers are drawn on top. Default priority is 0. | ||
{{Feature|important|Be aware that this command has '''local''' effect despite the command name missing the world '''local'''!}} | |||
|s1= markerName [[setMarkerDrawPriority]] priority | |s1= markerName [[setMarkerDrawPriority]] priority | ||
Line 19: | Line 19: | ||
|x1= <sqf>"MarkerOne" setMarkerDrawPriority 0.5;</sqf> | |x1= <sqf>"MarkerOne" setMarkerDrawPriority 0.5;</sqf> | ||
|x2= <sqf>"MarkerTwo" setMarkerDrawPriority -2.1;</sqf> | |x2= <sqf>"MarkerTwo" setMarkerDrawPriority -2.1;</sqf> | ||
|seealso= [[markerDrawPriority]] [[setMarkerType]] [[setMarkerTypeLocal]] [[markerType]] [[setMarkerAlphaLocal]] [[setMarkerBrush]] [[setMarkerColor]] [[setMarkerDir]] [[setMarkerPos]] [[setMarkerShape]] [[setMarkerSize]] [[setMarkerText]] [[createMarker]] [[CfgMarkers]] | |seealso= [[markerDrawPriority]] [[setMarkerType]] [[setMarkerTypeLocal]] [[markerType]] [[setMarkerAlphaLocal]] [[setMarkerBrush]] [[setMarkerColor]] [[setMarkerDir]] [[setMarkerPos]] [[setMarkerShape]] [[setMarkerSize]] [[setMarkerText]] [[createMarker]] [[CfgMarkers]] | ||
}} | }} |
Revision as of 11:30, 19 April 2024
Description
- Description:
- Sets marker draw priority. Higher priority markers are drawn on top. Default priority is 0.
- Groups:
- Markers
Syntax
- Syntax:
- markerName setMarkerDrawPriority priority
- Parameters:
- markerName: String
- priority: Number - draw priority
- Return Value:
- Nothing
Examples
- Example 1:
- "MarkerOne" setMarkerDrawPriority 0.5;
- Example 2:
- "MarkerTwo" setMarkerDrawPriority -2.1;
Additional Information
- See also:
- markerDrawPriority setMarkerType setMarkerTypeLocal markerType setMarkerAlphaLocal setMarkerBrush setMarkerColor setMarkerDir setMarkerPos setMarkerShape setMarkerSize setMarkerText createMarker CfgMarkers
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