IncrementSkillBy - Game

Revision as of 00:40, 5 April 2012 by imported>Tunaisafish (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

Advances the provided Skill by the given number of points (for the player only).

SyntaxEdit

Function IncrementSkillBy(string asSkillName, int aiCount) native global

ParametersEdit

  • asSkillName: The Skill to teach to the player.
  • aiCount: The number of points to advance the skill.

Return ValueEdit

None.

ExamplesEdit

; Advance the given skill on the player by the given number of points
Game.IncrementSkillBy("Marksman", 5)

See AlsoEdit