setMarkerAlpha: Difference between revisions
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. |= | Alpha can be numbers and fractions. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| marker '''setMarkerAlpha''' alpha |= | | marker '''setMarkerAlpha''' alpha |SYNTAX= | ||
|p1= marker: [[String]] - |PARAMETER1= | |p1= marker: [[String]] - |PARAMETER1= | ||
Line 27: | Line 27: | ||
|x1= <code>"my_marker" [[setMarkerAlpha]] 0.5;</code>|= | |x1= <code>"my_marker" [[setMarkerAlpha]] 0.5;</code>|EXAMPLE1= | ||
|x2= <code>"enemy_convoy_marker" [[setMarkerAlpha]] 0;</code>|= | |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]] | ||
|= | |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 14:47, 7 April 2019
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
Categories:
- Scripting Commands
- Introduced with Arma 2 version 1.00
- Arma 2: New Scripting Commands
- Arma 2: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Command Group: Markers
- Scripting Commands Take On Helicopters