IncrementPlayerSkillUse

From the Oblivion ConstructionSet Wiki
Revision as of 16:30, 17 October 2007 by imported>Haama (Corrected syntax, added example)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nuSkillExperience:float) IncrementPlayerSkillUse skill:short whichAction:short howManyTimes:float

Records some additional uses of one of the skill actions.

Example

float Exp
set Exp to (IncrementPlayerSkillUse Alchemy 1)

Increases the player's alchemy skill as if the player had just made a potion. Sets Exp to the player's new amount of experience for alchemy.

See Also