Difference between revisions of "IncrementPlayerSkillUse"
Jump to navigation
Jump to search
imported>WereWolf |
imported>Haama (Corrected syntax, added example) |
||
Line 6: | Line 6: | ||
Records some additional uses of one of the skill actions. | 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== | ==See Also== |
Revision as of 16:30, 17 October 2007
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.