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)