Functions to immediately get animation status?

Post » Sat Dec 28, 2013 5:25 pm

In Oblivion with OBSE there were animation functions like IsAttacking, IsBlocking, IsCasting, etc.. It appears that Skyrim defers those functions to events and event handling.Here's the problem though: How to detect animations in an effect with no duration (that lasts only one in-game frame)? If I register the effect to listen for an animation in the OnEffectStart event, it will never receive the event it is looking for because it expires immediately at the end of the current frame.tl;dr; Is there an Skyrim equivalent (including SKSE) of OBSE animation state functions such as IsAttacking, IsBlocking, IsCasting?
User avatar
herrade
 
Posts: 3469
Joined: Thu Apr 05, 2007 1:09 pm

Post » Sat Dec 28, 2013 9:28 pm

IsAttacking, IsBlocking, and IsCasting are all http://www.creationkit.com/Category:Condition_Functions. You could add them to the condition list for your magic effect and it will only take effect when those conditions are true.

User avatar
Shaylee Shaw
 
Posts: 3457
Joined: Wed Feb 21, 2007 8:55 pm


Return to V - Skyrim