AddIndicator
- Parameters
-
whichWidget widget
The widget the indicator will be applied to.
red integer
0-255 red color (value mod 256).
green integer
0-255 green color (value mod 256).
blue integer
0-255 blue color (value mod 256).
alpha integer
0-255 opacity (value mod 256). Determining the transparency of the indicator.
0
is total transparency,255
is total opacity. - comment
Adds a blinking circle around widget with the color (red,green,blue,alpha). The circle blinks twice. This function is commonly used for cinematic modes and is seen in
TransmissionFromUnitWithNameBJ
.- note
The size of the indicator depends on a widget's selection size. To modify this, you must edit the object editor field of the widget listed as "Art - Selection Size".
The indicator is shown below the unit selection. If the unit is currently selected, the blinking indicator will be practically hidden by the selection circle. For more see
SetImageType
description.- note
See:
UnitAddIndicator
(functionally equivalent to this widget version).- patch
1.00
- Source
- common.j
- return type
nothing
- Source code
native AddIndicator takes widget whichWidget, integer red, integer green, integer blue, integer alpha returns nothing