Function PanCameraToLocForPlayer
- Line
- 1399
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- player whichPlayer, location loc
- Returns
- nothing
| 1399 | function PanCameraToLocForPlayer takes player whichPlayer, location loc returns nothing |
| 1400 | if (GetLocalPlayer() == whichPlayer) then |
| 1401 | // Use only local code (no net traffic) within this block to avoid desyncs.
|
| 1402 | call PanCameraTo(GetLocationX(loc), GetLocationY(loc)) |
| 1403 | endif
|
| 1404 | endfunction
|