Unarmed attacks drain stamina not working

Post » Tue Jan 17, 2017 5:29 pm

Hi I want to drain the player's stamina when uses his bare hands to hit the foes but it seems not working.

I've set the conditional function GetEquippedItemType == 1 both right and left hand and check the OR checkbox. I also have set IsPowerAttacking() to 0, IsAttacking() to 1 and a global variable to toggle this feature.


I have a screenshot of my Spell and Effect Item but I don't know how to make attachments.


Here are the links of the images:

Effect Item - https://goo.gl/photos/YmHqXYDYYtvvAzXh8


Spell - https://goo.gl/photos/wnH5bhLPbMqEiWfc9

User avatar
Stefanny Cardona
 
Posts: 3352
Joined: Tue Dec 19, 2006 8:08 pm

Post » Tue Jan 17, 2017 7:07 pm

Spell condition checks are SLOW! Only once every 1000 milliseconds.



Most of your fist attacks are over before the spell can detect it.

User avatar
Teghan Harris
 
Posts: 3370
Joined: Mon Mar 05, 2007 1:31 pm

Post » Wed Jan 18, 2017 5:24 am

With one and two handed attacks I have any trouble though.

User avatar
Benji
 
Posts: 3447
Joined: Tue May 15, 2007 11:58 pm


Return to V - Skyrim