ModPerkPoints - Game

SKSE Member of: Game Script

Modifies the number of perk points available to the player by the specified amount. (This function requires SKSE)

SyntaxEdit

Function ModPerkPoints(Int PerkPoints) native

ParametersEdit

  • PerkPoints : the number of perk points to add or remove

Return ValueEdit

None

ExamplesEdit

; add 1 Perk Point to the Player
Game.ModPerkPoints(1)

; remove 3 Perk Points from the Player
Game.ModPerkPoints(-3)

; double the current Perk Points number
Game.ModPerkPoints(Game.GetPerkPoints())

NotesEdit

Final values can not exceed 255.

See AlsoEdit