SetCameraPositionForPlayer
- Parameters
-
whichPlayer player
x real
y real
- comment
- patch
-
1.00
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
function SetCameraPositionForPlayer takes player whichPlayer, real x, real y returns nothing if (GetLocalPlayer() == whichPlayer) then // Use only local code (no net traffic) within this block to avoid desyncs. call SetCameraPosition(x, y) endif endfunction