Difference between revisions of "ModPCSkill"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Ashileedo
m
imported>Ashileedo
(further clarification on issues with function)
Line 8: Line 8:
To lower skills, or to raise skills without having them affect leveling, use Player.[[SetActorValue]] instead.
To lower skills, or to raise skills without having them affect leveling, use Player.[[SetActorValue]] instead.


'''Note: Under some circumstances, using ModPCSkill will cause skill advancement to take a very long time, if you were close to a skill raise when the function was called.'''
'''Note: This function is currently broken and will result in "Skill Freeze" until the player has made up added experience'''


==See also==
==See also==

Revision as of 17:11, 3 April 2006

Syntax:

ModPCSkill SkillName amount

Example:

ModPCSkill Block 1

ModPCSkill increases SkillName by amount. Make sure the number you use is a positive number. The increase counts toward leveling just like normal "earned" skill increases.

To lower skills, or to raise skills without having them affect leveling, use Player.SetActorValue instead.

Note: Under some circumstances, using ModPCSkill will cause skill advancement to take a very long time, if you were close to a skill raise when the function was called.

See also