ModPerkPoints - Game

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

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