Difference between revisions of "AddPerkPoints - Game"
Jump to navigation
Jump to search
imported>JLundin (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 e...") |
imported>JustinOther m (Affixed version requirement) |
||
Line 1: | Line 1: | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
'''Member of:''' [[Game Script]] | '''Member of:''' [[Game Script]] ''(Requires 1.8)'' | ||
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. | 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. |
Latest revision as of 23:12, 5 November 2012
Member of: Game Script (Requires 1.8)
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.
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Give the player 5 more perk points.
Game.AddPerkPoints(5)
Notes[edit | edit source]
- The resulting sum will not go above 255.
- Negative values are ignored.