Moist soil in shaded outdoor areas is extremely inviting to centipedes. They also like rocks, logs and other objects left on top of grass, like children’s toys. Also, since they’re predators, the more bugs you have in your yard, the more likely they are to be there feeding on them.