Background for Fallout 4
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


Parameters

intaiPerkPoints

CK Wiki Description

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


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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.