SetPerkPoints - Game

Revision as of 04:32, 5 September 2012 by imported>Seigneur Voland (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Game Script Sets the number of perk points available to the player. (This function req...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Game Script

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

SyntaxEdit

Function SetPerkPoints(Int PerkPoints) native

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

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

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

NotesEdit

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

See AlsoEdit