IncrementSkill - Game

(Redirected from IncrementSkill - Actor)

Member of: Game Script

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

SyntaxEdit

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

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

; 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 AlsoEdit