Mod:Creation Kit/AddPerkPoints - Game

Member of: Mod:Creation Kit/Game Script

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.

Syntax
Function AddPerkPoints(int aiPerkPoints) native global

Parameters

 * aiPerkPoints: The number of perk points to add. The resulting sum will not go above 255.

Return Value
None

Examples
Game.AddPerkPoints(5)
 * Give the player 5 more perk points.