How to make a spawned AI not attack the one who spawned it?

This works, thanks.