Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

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

PstemariePstemarie Member Posts: 191
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 Pstemarie on
Sign In or Register to comment.