"GetActorValuePercent" doesn't work?

Post » Wed Jun 20, 2012 5:18 pm

I've got a spell effect set up that is a constant effect ability. However I have two spell abilties - one that doubles damage resistances if I have more than or equal to 40% stamina, and one that is conditionalized to only kick in when I have less than 40% stamina that is half damage resistance.

However, it just simply, for no reason I can figure out, doesn't work at all. No matter what I choose, whichever one has the "less than 40% stamina" conditon is ALWAYS active, while the ability that increases damage resistance never happens.

I'm using the condition "GetActorValuePercent" on Stamina, and have it so it's < 40% and >= 40% respectively. It appears to just not work at all however, and it ignores this condition entirely.

Why doesn't it work? It makes no sense to me.
User avatar
sam smith
 
Posts: 3386
Joined: Sun Aug 05, 2007 3:55 am

Post » Wed Jun 20, 2012 12:14 pm

Are you using the value 40, or 0.4?
The percentage ranges from 0 - 1. (so that would always be lower than 40)
User avatar
Abi Emily
 
Posts: 3435
Joined: Wed Aug 09, 2006 7:59 am

Post » Wed Jun 20, 2012 7:19 am

Ahhhh thank you. I'll need to do that. Odd that it would be between 0-1 and not 0-100 consdering percentages, not mulitpliers.
User avatar
naana
 
Posts: 3362
Joined: Fri Dec 08, 2006 2:00 pm


Return to V - Skyrim