setMarkerAlpha: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 13: Line 13:
When alpha equals <tt>1</tt>, the marker is visible, but if alpha equals <tt>0</tt>, then the marker is invisible.
When alpha equals <tt>1</tt>, the marker is visible, but if alpha equals <tt>0</tt>, then the marker is invisible.
<br>
<br>
Alpha can be numbers and fractions. |= Description
Alpha can be numbers and fractions. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| marker '''setMarkerAlpha''' alpha |= Syntax
| marker '''setMarkerAlpha''' alpha |SYNTAX=


|p1= marker: [[String]] -  |PARAMETER1=  
|p1= marker: [[String]] -  |PARAMETER1=  
Line 27: Line 27:




|x1= <code>"my_marker" [[setMarkerAlpha]] 0.5;</code>|= Example 1
|x1= <code>"my_marker" [[setMarkerAlpha]] 0.5;</code>|EXAMPLE1=


|x2= <code>"enemy_convoy_marker" [[setMarkerAlpha]] 0;</code>|= Example 2
|x2= <code>"enemy_convoy_marker" [[setMarkerAlpha]] 0;</code>|EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setMarkerAlphaLocal]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerText]], [[setMarkerType]], [[createMarker]]
| [[setMarkerAlphaLocal]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerText]], [[setMarkerType]], [[createMarker]]
|= See also
|SEEALSO=


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 14:47, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets the marker alpha. The marker is modified on all computers in a network session.
When alpha equals 1, the marker is visible, but if alpha equals 0, then the marker is invisible.
Alpha can be numbers and fractions.
Groups:
Uncategorised

Syntax

Syntax:
marker setMarkerAlpha alpha
Parameters:
marker: String -
alpha: Number -
Return Value:
Nothing

Examples

Example 1:
"my_marker" setMarkerAlpha 0.5;
Example 2:
"enemy_convoy_marker" setMarkerAlpha 0;

Additional Information

See also:
setMarkerAlphaLocalsetMarkerBrushsetMarkerColorsetMarkerDirsetMarkerPossetMarkerShapesetMarkerSizesetMarkerTextsetMarkerTypecreateMarker

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

Notes

Bottom Section