setMarkerAlphaLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<code> and Desc. tidy)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the marker alpha. The marker is only modified on the computer where the command is called. When alpha equal one, the marker is visible, but if alpha equal zero, then the marker is invisible. Alpha can be numbers and fractions. |= Description
| Sets the marker alpha. The marker is only modified on the computer where the command is called.
<br>
When alpha equals <tt>1</tt>, the marker is visible, but if alpha equals <tt>0</tt>, then the marker is invisible.
<br>
Alpha can be numbers and fractions. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 25:




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


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



Revision as of 06:43, 11 April 2014

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

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

Bottom Section