I have been messing with that myself trying to create a proper follower Fallout style using the code in there!
Used the seasoned survivor skin/smg gun and named her etc .. works fine shes using only ranged atcks ... the issue is
1 She kills everything on sight
2 she does 2 much damage
3 If i m in the line of fire » RIP
4 The AI is a bit clunky
Would be great if i find a way to solve the 3rd point.. cuz damn its insta kill if she fires at me XD
So in your case if your using the base Archer AI i think you will have to remove the special atcks or the aproach and atch funtion so it only atcks with melee if the target is 2 close
IDK i m newb at this