SetUnitPropWindowBJ
- Parameters
-
whichUnit unit
propWindow real
- 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
- Source
- Blizzard.j
- wc3modding.com
- SetUnitPropWindowBJ