IncrementSkill - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

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

Syntax

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

Parameters

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

Return Value

None.

Examples

; 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