Evangela Posted May 2, 2018 Share Posted May 2, 2018 (edited) If all you want to do is increase the skill level, then do this: Event OnActivate(ObjectReference akActionRef) Actor player = Game.GetPlayer() if akActionRef == player ; Care only about the base value and not the current value(which can be affected by buffs). if player.GetBaseActorValue("Alteration") < 100.0 Game.IncrementSkill("Alteration") endif endif EndEvent AdvanceSkill will only add progress towards the next skill level, whereas IncrementSkill will increase a skill by a full level. The rest is on how you setup the activator. Edited May 2, 2018 by Rasikko Link to comment Share on other sites More sharing options...
ben446 Posted May 3, 2018 Author Share Posted May 3, 2018 Thank you Rasikko. My scripting skills go to reading a script, but for the life of me I cant write a script. I had one compile but it did nothing in game, That's the closest ive come to writing a script Link to comment Share on other sites More sharing options...
ben446 Posted May 5, 2018 Author Share Posted May 5, 2018 ive had a lot of help from people here and ive managed to move my mod along, ive been able to add buttons to improve all skills one at a time, one level at a time. I was then able to midify the script and with some research I was able to make 2 buttons to add perk points to the player, one adds one perk point the other adds 5. as I have a script that works for perk points it gave me an idea to adapt the script so I can use it to give werewolf perk points and vampire lord perk points. Ive been searching everywhere I can think of, I don't know scripting language so I usually use things like the CK page and other sources to find out the lingo I need to add. The property I wanna change is Perkpointsadded. So it becomes the right property for vampire or werewolf perk points, but I'm unable to find the right language. if its possible would one of you great MA's who have more knowledge be able to help me out. Thank you Link to comment Share on other sites More sharing options...
Evangela Posted May 6, 2018 Share Posted May 6, 2018 For vampires, check this script: DLC1PlayerVampireChangeScript Go to line 389 and start reading from there. It appears that perk "points" is controlled through a global. For werewolves, a similar mechanic is not in the change script, so I don't know where that's controlled from. Link to comment Share on other sites More sharing options...
ben446 Posted May 6, 2018 Author Share Posted May 6, 2018 oh right. thanks for the help. as I say I managed to write a script to add perk points to the player, which made me think I may be able to do the same for vampires and werewolves. I did see somewhere were someone said youd have to enter the property specifying which perk to add. ill take a look at the quests. Thanks. I wanna try and make this player home have everything, so itd be so much more than a home. Thanks for your help Link to comment Share on other sites More sharing options...
Recommended Posts