CreateMinimapIconOnUnitBJ

Parameters
whichUnit unit
red integer
green integer
blue integer
pingPath string
fogVisibility fogstate
comment
patch

1.32.0.13369

Source
Blizzard.j
return type
minimapicon
Source code
function CreateMinimapIconOnUnitBJ takes unit whichUnit, integer red, integer green, integer blue, string pingPath, fogstate fogVisibility returns minimapicon
    set bj_lastCreatedMinimapIcon = CreateMinimapIconOnUnit(whichUnit, red, green, blue, pingPath, fogVisibility)
    return bj_lastCreatedMinimapIcon
endfunction