Function SetCameraOrientControllerForPlayerBJ
- Line
- 1628
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- player whichPlayer, unit whichUnit, real xoffset, real yoffset
- Returns
- nothing
| 1628 | function SetCameraOrientControllerForPlayerBJ takes player whichPlayer, unit whichUnit, real xoffset, real yoffset returns nothing |
| 1629 | if (GetLocalPlayer() == whichPlayer) then |
| 1630 | // Use only local code (no net traffic) within this block to avoid desyncs.
|
| 1631 | call SetCameraOrientController(whichUnit, xoffset, yoffset) |
| 1632 | endif
|
| 1633 | endfunction
|