AddPerkPoints - Game

From the Fallout4 CreationKit Wiki
Revision as of 11:35, 19 June 2012 by imported>DarkruneDK (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Adds the specified number of perk points to the player. The result is clamped at 255. This will enab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

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.

Syntax[edit | edit source]

Function AddPerkPoints(int aiPerkPoints) native global

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Give the player 5 more perk points.
Game.AddPerkPoints(5)

Notes[edit | edit source]

See Also[edit | edit source]