ItemAddIndicatorBJ

Parameters
whichItem item

The item the indicator will be applied to.

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

An integer from 0-100 determining the transparency of the indicator. A value of 100 is complete transparency while a value of 0 is complete opacity.

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".

patch

1.00

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