Complex sentence: Xavier greeted Duncan and the mercenaries appeared and tried to shoot Duncan and Charlie, nearly hitting them but they managed to get out of the line of fire.
Split into simpler sentences: Xavier greeted Duncan and the mercenaries appeared and tried to shoot Duncan and Charlie, nearly hitting them. They managed to get out of the line of fire.