Prevent hostile peds from attacking

Hi there,

I’m utilizing SetRelationshipBetweenGroups and setting the value to 5 for hostile, but I want to prevent the peds from attacking once they get to me. What function would I use to disable combat, but keep the functionality for the peds running after me?

Thanks in advance.

someone made a resource that covers all hostile groups: [Release] Calm AI