Perk skill requirement not showing in game?

Post » Sat Dec 13, 2014 1:11 am

My custom perk is set up exactly as my other custom perks so I just cannot see why in the game you see your skill level but not the skill requirement as I do with all my other perks:

Skill LightArmor >= 60 and

hasperk MyOTherPerkA == 1 or

hasperk MyOTherPerkB == 1 and

Any ideas?

User avatar
Laura Elizabeth
 
Posts: 3454
Joined: Wed Oct 11, 2006 7:34 pm

Post » Fri Dec 12, 2014 9:58 pm

I don't have the CK at the moment so I can't check for sure, but I believe I usually set up my perk skill requirements using a GetActorValue condition, like:

GetActorValue LightArmor >= 60

Maybe that's what you meant by "Skill", but figured I'd post just in case :smile:

User avatar
Angus Poole
 
Posts: 3594
Joined: Fri Aug 03, 2007 9:04 pm

Post » Fri Dec 12, 2014 11:06 am

sorry, yes I did it that way: GetActorValue LightArmor >= 60

The really weird thing is I have other perks set up the exact same way (same 3 types of conditions) that show fine. Maybe I need to delete it and rebuild it?

User avatar
BEl J
 
Posts: 3397
Joined: Tue Feb 13, 2007 8:12 am

Post » Sat Dec 13, 2014 1:25 am

maybe you ran your conditions on stg else (like say "target" instead of "subject") this time?

User avatar
lexy
 
Posts: 3439
Joined: Tue Jul 11, 2006 6:37 pm

Post » Fri Dec 12, 2014 7:34 pm

Thanks for the suggestion, you did help because as I was looking at the conditions (to see if I made the mistake you suggested) I FINALLY saw the real problem.
if you use GetActorValue This will work as a prerequisite to reward the perk however it will not show up in the game as a requirement.
You must use getBASEActorValue instead!
Strange - how many years I have been working with perks and did not realize that kind of mistake could happen. But I have seen other modders post in other threads about perks and they also posted they were using GetActorValue (instead of GetBaseActorValue) so I am suprised that is not more often an issue for discussion.
User avatar
OnlyDumazzapplyhere
 
Posts: 3445
Joined: Wed Jan 24, 2007 12:43 am

Post » Fri Dec 12, 2014 11:00 pm

never realized there was a difference, might be good to know.

fine you could fix it anyhow :-)

User avatar
Alyce Argabright
 
Posts: 3403
Joined: Mon Aug 20, 2007 8:11 pm


Return to V - Skyrim