Similar to TransportNightVision,`setTurretOpticsMode` could perhaps be extended to work with pilot's turret path `[-1]`.
For context, other ways to control pip screen, custom info panel, pilot camera, or turret include:
TransportNightVision keybind works for MBT reverse cam pip
setPilotCamera... these actions would allow keybind and script control of the zoom level of the pilotcamera on the player's vehicle. commands
lockCameraTo command
Custom Info panel mode when on GunnerView on AH-99 Blackfoot works to cycle vision mode of pilot's pip screen
setTurretOpticsMode works to cycle zoom mode of pilot's pip screen
Such control would greatly improve the usefulness of pip and customInfo views of the pilotcamera. Base game control exists for vision mode, slew and stabilization can be [[ https://steamcommunity.com/sharedfiles/filedetails/?id=2680118205 | scripted ]], only Pilot Camera zoom seems to be inaccessible for now.