Detecting when the player blocks?

Post » Thu Jun 21, 2012 4:51 pm

Is there a script function that detects when the player blocks? I'm trying to have a shield that, whenever the player blocks, it plays the slow time spell. I can't make it a constant effect, so I've been trying a script, but the CK wiki doesn't seem to have anything that works.
User avatar
Josee Leach
 
Posts: 3371
Joined: Tue Dec 26, 2006 10:50 pm

Post » Fri Jun 22, 2012 4:22 am

Take a look at this thread:

http://www.gamesas.com/topic/1360112-full-dump-of-all-animation-variables/

Might be of use. You may be able to detect when a player is doing a block animation and then run a script. You'd probably have to do an onupdate event to update ever 0.5-1 seconds, then make the animation check.
User avatar
Nicole Kraus
 
Posts: 3432
Joined: Sat Apr 14, 2007 11:34 pm


Return to V - Skyrim