apellis Posted April 12, 2023 Share Posted April 12, 2023 I apologize in advance for the double post - I should have posted here first... Been a minute since I've been active. Started work on remastering one of my LE mods for SE. I can't get one of my scripts to compile because my syntax is wrong. Unfortunately, the wiki page for the specific SKSE function I want to use was never created. I've tried several different iterations and have had no luck using the functions below: Float GetSkillExperience()Float SetSkillExperience(Float exp) If a scripting guru could enlighten me, I would very much appreciate it. Link to comment Share on other sites More sharing options...
dylbill Posted April 12, 2023 Share Posted April 12, 2023 Looks like that uses the ActorValueInfo script, which I think is only for the player as I don't see a way to call it on other actors. Here's an example though: Event OnInit() ActorValueInfo aVI = ActorValueInfo.GetActorValueInfobyName("OneHanded") Float exp = aVI.GetSkillExperience() aVI.SetSkillExperience(exp + 20.0) ;add 20 exp to OneHanded skill EndEventCheck out this wiki on how to get more ActorValueInfos https://www.creationkit.com/index.php?title=ActorValueInfo_Script Link to comment Share on other sites More sharing options...
Recommended Posts