Background for Skyrim SE
Member of the PO3_SKSEFunctions script
boolfunctionAddBasePerk(ActorakActor, PerkakPerk)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Adds perks to the actorbase, works on leveled actors/unique NPCs.
  • Function serializes data to skse cosave, so perks are applied correctly on loading/reloading saves.

Caveats


Parameters

ActorakActor

PerkakPerk


Examples

Auto-Generated Example

Actor myActor__akActor
Perk myPerk__akPerk

bool returnedValue = PO3_SKSEFunctions.AddBasePerk(myActor__akActor, myPerk__akPerk)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.