Skip to content

[AI Question] Keeping an Attacker at Ranged Combat [SOLVED]

[Deleted User][Deleted User] Posts: 0
edited February 2018 in Builders - Scripting
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.
Post edited by [Deleted User] on
Sign In or Register to comment.