setMarkerAlphaLocal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1 = Markers | |gr1 = Markers | ||
|eff= local | |eff= local | ||
| Sets the marker alpha. The marker is only modified on the computer where the command is called. | | Sets the marker alpha. The marker is only modified on the computer where the command is called. | ||
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. | Alpha can be numbers and fractions. | ||
| marker '''setMarkerAlphaLocal''' alpha | | marker '''setMarkerAlphaLocal''' alpha | ||
|p1= marker: [[String]] - | |p1= marker: [[String]] - | ||
|p2= alpha: [[Number]] - | |p2= alpha: [[Number]] - | ||
|p3 | |p3= | ||
| Nothing | | Nothing | ||
|x1= <code>"my_marker" [[setMarkerAlphaLocal]] 0.5;</code> | |x1= <code>"my_marker" [[setMarkerAlphaLocal]] 0.5;</code> | ||
|x2= <code>"enemy_convoy_marker" [[setMarkerAlphaLocal]] 0;</code> | |x2= <code>"enemy_convoy_marker" [[setMarkerAlphaLocal]] 0;</code> | ||
| [[setMarkerAlpha]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerText]], [[setMarkerType]], [[createMarker]] | | [[setMarkerAlpha]], [[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerText]], [[setMarkerType]], [[createMarker]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:08, 18 January 2021
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:
- Markers
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