IncrementSkill - Game

From the Fallout4 CreationKit Wiki
Revision as of 09:47, 4 March 2014 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]