best way to force breath strafe attacks?

Post » Thu Oct 24, 2013 4:52 pm

I want to increase the frequency of dragons doing strafe breath attacks as opposed to hover attacks. One option I want to try is to script it.
Anyone know if simply calling "cast" while the dragon is in flyby mode will work?
(I can detect the flyby now, so I think I just want to just call the casting of the breath spell at that time.)
Other options:
Play idle ? I think there may be an ideal animation for this.
Combat style? This may be the best way if the Combat style for dragons has this as a setting. I guess I will try this first once I get home tonight.
Put a dynamic (script controlled or random number or whatever) condition on the hover animation so the dragon cannot use it?
This would have the effect of increasing the strafe attacks...I think.
User avatar
Melanie
 
Posts: 3448
Joined: Tue Dec 26, 2006 4:54 pm

Post » Thu Oct 24, 2013 7:40 am

dragonbehavior.hkx is pretty complex but it looks like sending the 'shoutStart' event when the dragon is flying by should cause it to use its breath attack.

As for the hovering I think editing the combat style should suffice. If not you could add some conditions to the animation in Gameplay -> Animations -> DragonBehavior -> ActionHoverStart.

User avatar
The Time Car
 
Posts: 3435
Joined: Sat Oct 27, 2007 7:13 pm


Return to V - Skyrim