{"name":"setPilotCameraOpticsMode","title":"setPilotCameraOpticsMode","type":"command","url":"https://community.bistudio.com/wiki/setPilotCameraOpticsMode","revid":347224,"updated":"2023-09-05T17:11:27Z","groups":["Pilot Camera"],"status":"ok","games":{"arma3":"2.14"},"since":"arma3 2.14","arma3_since":"2.14","locality":{"argument":"local"},"description":"Sets the optics mode index (zoom) for the pilotCamera","syntaxes":[{"syntax":"object setPilotCameraOpticsMode index","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"index","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"index"}}],"examples":[{"code":["vehicle player setPilotCameraOpticsMode 0"]}],"see_also":["getPilotCameraOpticsMode","hasPilotCamera","getPilotCameraPosition","getPilotCameraDirection","getPilotCameraRotation","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","getPilotCameraTarget","getTurretOpticsMode","setTurretOpticsMode"]}