IncrementSkill - Game

Revision as of 09:47, 4 March 2014 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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