setMarkerAlphaLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the marker alpha. The marker is only modified on the computer where the command is called. |= Description
| 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
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code> "my_marker" setMarkerAlphaLocal 0.5; </code>|= EXAMPLE1  
 
|x2= <code> "enemy_convoy_marker" setMarkerAlphaLocal 0; </code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[setMarkerAlpha]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 23:17, 27 June 2011

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 equal one, the marker is visible, but if alpha equal zero, 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:
setMarkerAlpha

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