I have an NPC that has both a crossbow and a set of a sword and a shield. If I attack him close range he takes out his melee "set" and it's alright. If I attack him long range, he takes out a crossbow and it's alright.
But how can I make him change his equipment to melee (or vice versa) depending on the range?
Thanks for help.
'>