The search keyword must be a single word (no spaces).
Function SetCameraPositionLocForPlayer
- Line
- 1375
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- player whichPlayer, location loc
- Returns
- nothing
| 1375 | function SetCameraPositionLocForPlayer takes player whichPlayer, location loc returns nothing |
| 1376 | if (GetLocalPlayer() == whichPlayer) then |
| 1377 | // Use only local code (no net traffic) within this block to avoid desyncs.
|
| 1378 | call SetCameraPosition(GetLocationX(loc), GetLocationY(loc)) |
| 1379 | endif
|
| 1380 | endfunction
|