SetUnitPropWindowBJ

Parameters
whichUnit unit
propWindow real
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function SetUnitPropWindowBJ takes unit whichUnit, real propWindow returns nothing
    local real angle = propWindow
    if (angle <= 0) then
        set angle = 1
    elseif (angle >= 360) then
        set angle = 359
    endif
    set angle = angle * bj_DEGTORAD

    call SetUnitPropWindow(whichUnit, angle)
endfunction