AngleBetweenPoints

Parameters
locA location
locB location
comment
patch

1.00

Source
Blizzard.j
return type
real
Source code
function AngleBetweenPoints takes location locA, location locB returns real
    return bj_RADTODEG * Atan2(GetLocationY(locB) - GetLocationY(locA), GetLocationX(locB) - GetLocationX(locA))
endfunction