{"name":"setPilotCameraTarget","title":"setPilotCameraTarget","type":"command","url":"https://community.bistudio.com/wiki/setPilotCameraTarget","revid":377764,"updated":"2026-01-03T01:00:05Z","groups":["Pilot Camera"],"status":"ok","games":{"arma3":"1.64"},"since":"arma3 1.64","arma3_since":"1.64","locality":{"argument":"local"},"description":"Sets an area or target to be tracked by the object airplane or helicopter pilotCamera.\nTo track an object the vehicle has to have appropriate sensors (scanners) that can detect the given target type.\nUsing objNull will unlock the camera","syntaxes":[{"syntax":"object setPilotCameraTarget target","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"target","type":"Object or PositionASL","type_expr":"Object | PositionASL"}],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"binary","left":{"text":"object"},"right":{"text":"target"}}],"examples":[{"code":["_pilotCamTrack = vehicle player setPilotCameraTarget [2100,4200,4.2];"]},{"code":["_pilotCamTrack = vehicle player setPilotCameraTarget BIS_Edita;"]}],"see_also":["hasPilotCamera","getPilotCameraPosition","getPilotCameraDirection","getPilotCameraRotation","getPilotCameraTarget","setPilotCameraDirection","setPilotCameraRotation"]}