[AI Question] Keeping an Attacker at Ranged Combat [SOLVED]
[Deleted User]
Posts: 0
I have some archers that I want to keep at ranged combat. I am using SetCombatCondition(X0_COMBAT_FLAG_RANGED); in the Onspawn script. However, sometimes the creature still closes to melee combat. How can I override this behavior so the attacker always stays at ranged combat? OnHeartbeat modification or some other method?
NEVERMIND - Solved it myself. Somehow, when adjusting the creature's inventory in the toolset, I managed to get a bow equipped without the creature having the correct weapon proficiency - I think I may have deleted the weapon proficiency after the item was already equipped. Once the proficiency was added the creature stayed at ranged combat.
NEVERMIND - Solved it myself. Somehow, when adjusting the creature's inventory in the toolset, I managed to get a bow equipped without the creature having the correct weapon proficiency - I think I may have deleted the weapon proficiency after the item was already equipped. Once the proficiency was added the creature stayed at ranged combat.
Post edited by [Deleted User] on
0