Difference between revisions of "AdvanceSkill - Game"

596 bytes added ,  12:45, 2 August 2017
m
imported>Tunaisafish
(Added Skill XP notes and link to UESP for formula)
imported>Lisselli
 
(5 intermediate revisions by 4 users not shown)
Line 12: Line 12:
== Parameters ==
== Parameters ==
*asSkillName: The Skill to progress.
*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.
*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. This amount is automatically modified by any active effects such as a Guardian Stone.


== Return Value ==
== Return Value ==
Line 24: Line 24:


== Notes ==
== Notes ==
*The amount of [[http://www.uesp.net/wiki/Skyrim:Leveling#Skill_XP Skill XP]] needed to level up the skill varies depending on the skill, and by the current level of that skill.
*The amount of [http://www.uesp.net/wiki/Skyrim:Leveling#Skill_XP Skill XP] needed to level up the skill varies depending on the skill, and by the current level of that skill.
*This will invoke the on-screen message for skill progression every time the passed in amount results in a level up. If the skill will increase 20 levels due to this function, the on screen message will display each level. This can take a long time depending on how many levels.  Use of this function is not recommended if you intend to use this to increase a skill by many levels. Use [[IncrementSkill - Game]] or [[IncrementSkillBy - Game]] instead.
* The above note applies to Special Edition of Skyrim only.


== See Also ==
== See Also ==
*[[Game Script]]
*[[Game Script]]
Anonymous user