 The production team had considered India and Nepal as locations, but after scouting trips these were rejected as impractical to work into the script, particularly considering the time constraints.They decided on Rio de Janeiro relatively early on, a city that Cubby Broccoli had visited on holiday, and a team was sent there in early 1978 to capture initial footage from the Carnival, which featured in the film.At the Rio de Janeiro location, many months later, Roger Moore arrived several days later than scheduled for shooting due to recurrent health problems and an attack of kidney stones that he had suffered while in France.