Jump to content

Automatic Perks


jgarling

Recommended Posts

I am trying to make a perk that is received automatically when the player hit 100 on a certain skill.

 

I got the rest of the perk working I think, but I don't know how to get it so that the perk is automatically gained when the player meets the criteria (= 100 skill)

 

If this is not a possibility what would be an alternative?... perhaps make a book or holotape that gives the perk if the other criteria are met?....

 

Please help... this is my first mod.

 

Making a perk for each mastery of each skill

 

Thanks

Link to comment
Share on other sites

You could do it via script?

 

scn SkillMasteryPerkAssignment

begin menumode

if player.getav [i]Skill[/i] >= 100
 player.addperk [i]IDofMasterPerk[/i]
endif

if player.getav [i]Skill[/i] >= 100
 player.addperk [i]IDofMasterPerk[/i]
endif

if player.getav [i]Skill[/i] >= 100
 player.addperk [i]IDofMasterPerk[/i]
endif

...

End

 

Just make an if/endif for every skill. Make a new quest for it, give it like 5 priority, and assign that script to it. Should work just fine. You may need to add checks so you don't get duplicate perks, though - but I think if the Perks only have one rank that shouldn't be a problem. Try it and see.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...