setMarkerAlphaLocal: 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 '''setMarkerAlphaLocal''' alpha |= Syntax
| marker '''setMarkerAlphaLocal''' alpha |SYNTAX=


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




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


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


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 15:47, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets the marker alpha. The marker is only modified on the computer where the command is called.
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 setMarkerAlphaLocal alpha
Parameters:
marker: String -
alpha: Number -
Return Value:
Nothing

Examples

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

Additional Information

See also:
setMarkerAlphasetMarkerBrushsetMarkerColorsetMarkerDirsetMarkerPossetMarkerShapesetMarkerSizesetMarkerTextsetMarkerTypecreateMarker

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

Posted on January 7, 2010 - 18:37 (CET)
Dimitri Harkov
The range for 'alpha' is 0 ... 1

Bottom Section