AddPerkPoints - Game
From Creation Kit
Member of: Game Script (Requires 1.8)
Adds the specified number of perk points to the player. The result is clamped at 255. This will enable the player to choose additional perks.
Function AddPerkPoints(int aiPerkPoints) native global
- aiPerkPoints: The number of perk points to add.
; Give the player 5 more perk points. Game.AddPerkPoints(5)
- The resulting sum will not go above 255.
- Negative values are ignored.