RotateCameraAroundLocBJ
- Parameters
-
degrees real
loc location
whichPlayer player
duration real
- comment
- patch
-
1.07
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
function RotateCameraAroundLocBJ takes real degrees, location loc, player whichPlayer, real duration returns nothing if (GetLocalPlayer() == whichPlayer) then // Use only local code (no net traffic) within this block to avoid desyncs. call SetCameraRotateMode(GetLocationX(loc), GetLocationY(loc), bj_DEGTORAD * degrees, duration) endif endfunction