AdvanceSkill - Game

Member of: Game Script

Advances the progress of the provided Skill by the given amount (for the player only).

SyntaxEdit

Function AdvanceSkill(string asSkillName, float afMagnitude) native global

ParametersEdit

  • asSkillName: The Skill to progress.
  • afMagnitude: The amount by which the skill progress will be advanced. This is in Skill Usage amounts, so it will count towards skill progression but won't necessarily change the Skill itself. The amount must be positive. If the new amount exceeds the skill's level threshold, the skill will advance, and possibly level up.

Return ValueEdit

None.

ExamplesEdit

; Advance the given skill on the player by the provided amount
Game.AdvanceSkill("Marksman", 50.0)

See AlsoEdit