ItemAddIndicatorBJ

Parameters
whichItem item
red real

An integer from 0-100 determining the amount of red color in the indicator.

green real

An integer from 0-100 determining the amount of green color in the indicator.

blue real

An integer from 0-100 determining the amount of blue color in the indicator.

transparency real
comment

Adds a blinking circle around the item 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 item's selection size. To modify this, you must edit the object editor field of the item listed as "Art - Selection Size".

return type
nothing
Source code
function ItemAddIndicatorBJ takes item whichItem, real red, real green, real blue, real transparency returns nothing
    call AddIndicator(whichItem, PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-transparency))
endfunction
Source
Blizzard.j
wc3modding.com
ItemAddIndicatorBJ