SetPerkPoints - Game

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Game Script

Sets the number of perk points available to the player. (This function requires SKSE)

Syntax[edit | edit source]

Function SetPerkPoints(Int PerkPoints) native

Parameters[edit | edit source]

  • PerkPoints : Sets the number of perk points available to the player

Return Value[edit | edit source]

None

Examples[edit | edit source]

; set Perk Points to 1
Game.SetPerkPoints(1)

; set Perk Points to 255
Game.SetPerkPoints(-1)

Notes[edit | edit source]

Negative values give the Player 255 Perk Points. Exceeding values are automatically capped to 255.

See Also[edit | edit source]