How do I make npcs shoot at ragdolls

I was wondering if there is a console command to make npcs attack a prop or ragdoll?

I’m not advanced at this topic, but this page seems to have useful commands.