Difference between revisions of "ModPCSkill"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Tegid
imported>Ashileedo
(rewrote for readability)
Line 4: Line 4:
ModPCSkill Block 1
ModPCSkill Block 1


ModPCSkill increases '''[[Stats List|SkillName]]''' by '''amount'''. The increase counts toward leveling just like normal "earned" skill increases.
ModPCSkill increases '''[[Stats List|SkillName]]''' by '''amount'''. Make sure the amount 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.
To lower skills, or to raise skills without having them affect leveling, use Player.[[SetActorValue]] instead.

'''Note: ''amount'' must be non-negative.'''


'''Note: This function is currently broken and will result in "Skill Freeze" until the player has made up added experience'''
'''Note: This function is currently broken and will result in "Skill Freeze" until the player has made up added experience'''

Revision as of 17:07, 3 April 2006

Syntax:

ModPCSkill SkillName amount

Example:

ModPCSkill Block 1

ModPCSkill increases SkillName by amount. Make sure the amount 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: This function is currently broken and will result in "Skill Freeze" until the player has made up added experience

See also