The search keyword must be a single word (no spaces).
Function SetUnitPropWindowBJ
- Line
- 3797
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- unit whichUnit, real propWindow
- Returns
- nothing
| 3797 | function SetUnitPropWindowBJ takes unit whichUnit, real propWindow returns nothing |
| 3798 | local real angle = propWindow |
| 3799 | if (angle <= 0) then |
| 3800 | set angle = 1 |
| 3801 | elseif (angle >= 360) then |
| 3802 | set angle = 359 |
| 3803 | endif
|
| 3804 | set angle = angle * bj_DEGTORAD |
| 3805 | |
| 3806 | call SetUnitPropWindow(whichUnit, angle) |
| 3807 | endfunction
|