Difference between revisions of "IncrementSkillBy - Game"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Tunaisafish
 
Line 20: Line 20:
<source lang="papyrus">
<source lang="papyrus">
; Advance the given skill on the player by the given number of points
; Advance the given skill on the player by the given number of points
Game.AdvanceSkill("Marksman", 5)
Game.IncrementSkillBy("Marksman", 5)
</source>
</source>



Latest revision as of 23:40, 4 April 2012

Member of: Game Script

Advances the provided Skill by the given number of points (for the player only).

Syntax[edit | edit source]

Function IncrementSkillBy(string asSkillName, int aiCount) native global

Parameters[edit | edit source]

  • asSkillName: The Skill to teach to the player.
  • aiCount: The number of points to advance the skill.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Advance the given skill on the player by the given number of points
Game.IncrementSkillBy("Marksman", 5)

See Also[edit | edit source]