Prevent a follower from standing from sneak when combat begi

Post » Fri Mar 15, 2013 6:58 am

For my follower mod I'm trying to have a combat tactics setting designed to let the player snipe with a bow while sneaking without the follower interfering.

The follower is using a follow package with the "Ignore Combat" flag checked and "Observe Combat Behavior" unchecked. She is a player teammate, which supposedly means she will sneak when the player does. She has a combat override package which is just a follow package with the "Always Sneak" flag checked.

And yet in game, when I shoot my bow at opponents while sneaking, even though the combat override follow package with "always sneak" is running, she still stands up and goes into an alert state, letting foes home in on our location.

Any thoughts on how to prevent this? I want her to stay down in sneak mode.

The best I've been able to do is run StopCombat() on OnPackageEnd of her normal follow package--but that still results in her periodically rising up for a split-second before dropping down into sneak again. (Doing the same method OnCombatStateChanged works similarly, if a little slower.)
User avatar
BaNK.RoLL
 
Posts: 3451
Joined: Sun Nov 18, 2007 3:55 pm

Return to V - Skyrim