Jump to content

[LE] Any Way to Add a Perk to All NPCs of a Race?


sp0ckrates

Recommended Posts

Right, you can't dynamically add perks to NPCs. You can however associate perks with spells and dynamically add theoretically(I say this because I never tried calling addSpell() on a race) spells to NPC races. Scripting this would avoid compatibility issues me thinks, instead of adding the spells/perks to the Race forms in the CK.

Edited by Rasikko
Link to comment
Share on other sites

@Rasikko: Yeah, yeah! So I found that I could dynamically add spells to the player that have perks associated with them, and the effects of the perks worked for the player. But dynamically add the same spells that have perks associated with them totheNPCs, and the effects of the perks are ignored. Not sure if the same applies to adding spells with perks to a race, so that the perks apply to the player but not the NPCs having that race.
Link to comment
Share on other sites

  • 2 weeks later...

Perks cannot be dynamically added/removed from NPCs. If you want a race-specific perk that can be turned on/off, I'd do this:

 

1) Add perk to the race in CK

2) Add a condition (e.g. global variable, quest status) that can be used to toggle the perk on/off.

3) Profit :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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