Complex sentence: He was driving home from work, when a pickup truck pulled up to the side of Moore's patrol car and an occupant in the truck opened fire with a gun on Moore and his partner, Creed Rogers.
Split into simpler sentences: He was driving home from work, when a pickup truck pulled up alongside. An occupant in the truck shot at Moore and his partner, Creed Rogers.