Background for Skyrim SE
Member of the Game script
voidfunctionModPerkPoints(intperkPoints)NativeGlobal

Description

Wiki Description

Modifies the number of perk points available to the player by the specified amount. (This function requires SKSE)


Caveats

CK Wiki - Notes

Final values can not exceed 255.


Parameters

intperkPoints

CK Wiki Description

the number of perk points to add or remove


Examples

; add 1 Perk Point to the Player
Game.ModPerkPoints(1)

; remove 3 Perk Points from the Player
Game.ModPerkPoints(-3)

; double the current Perk Points number
Game.ModPerkPoints(Game.GetPerkPoints())

Auto-Generated Example

int myInt__perkPoints

Game.ModPerkPoints(myInt__perkPoints)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

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