Thanks for the great script! I tested it but it seems that you need to be in a group with at least one of the AI for them to consider you friendly. Is this because of the "brute force" method you meant in the script itself? Any suggestions to remedy? Perhaps one can declare "players" friendly if they are on the same faction as the AI instead?