by far the easiest way is the humble pivot.
centerpivot = createpivot()
positionentity centerpivot at target object to rotate about
position camera exactly at distance away from target
PointEntity Camera,centerpivot
EntityParent Camera,centerpivot
All you do now is RotateEntity centerpivot or TurnEntity centerpivot. And the camera will roll effortlessly around. EntityParent camera,0 will break the attachment if you're wondering.
centerpivot = createpivot()
positionentity centerpivot at target object to rotate about
position camera exactly at distance away from target
PointEntity Camera,centerpivot
EntityParent Camera,centerpivot
All you do now is RotateEntity centerpivot or TurnEntity centerpivot. And the camera will roll effortlessly around. EntityParent camera,0 will break the attachment if you're wondering.