IncrementSkill - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Advances the provided Skill by the one point (for the player only).

Syntax[edit | edit source]

Function IncrementSkill(ActorValue akActorValue, int aiCount = 1) native global

Parameters[edit | edit source]

  • akActorValue: The Skill to teach to the player.
  • aiCount: The number of points to advance the skill.
    • Default: 1

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Advance the given skill on the player by the one point
Game.IncrementSkill(MarksmanSkillAV)


; Advance the given skill on the player by 10 points
Game.IncrementSkill(SmallGunSkillAV, 10)

See Also[edit | edit source]