Background for Skyrim SE
Member of the Game script
voidfunctionAddPerkPoints(intaiPerkPoints)NativeGlobal

Description

Wiki Description

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.

Documentation Comment

Add the specified number of perk points to the player


Caveats

CK Wiki - Notes

  • The resulting sum will not go above 255.
  • Negative values are ignored.

Parameters

intaiPerkPoints

CK Wiki Description

The number of perk points to add.


Examples

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

Auto-Generated Example

int myInt__aiPerkPoints

Game.AddPerkPoints(myInt__aiPerkPoints)

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.