Difference between revisions of "IncrementPlayerSkillUse"
Jump to navigation
Jump to search
imported>DragoonWraith (not a record variable function) |
imported>Low Post |
||
Line 4: | Line 4: | ||
(nuSkillExperience:float) IncrementPlayerSkillUse skill:name ''whichAction:short'' ''howManyTimes:float'' | (nuSkillExperience:float) IncrementPlayerSkillUse skill:name ''whichAction:short'' ''howManyTimes:float'' | ||
Records some additional uses of one of the skill actions. | Records some additional uses of one of the skill actions. Increments Skill Level by using the internal formula if necessary. | ||
''whichAction'' defaults to 0, ''howManytimes'' defaults to 1 if omitted. | |||
'''Example''' | '''Example''' | ||
Line 15: | Line 16: | ||
*[[GetSkillUseIncrement]] | *[[GetSkillUseIncrement]] | ||
*[[SetSkillUseIncrement]] | *[[SetSkillUseIncrement]] | ||
*[[TriggerPlayerSkillUse]] | |||
*[[ModPlayerSkillExp]] | |||
*[[GetRequiredSkillExp]] | |||
[[Category: Functions]] | [[Category: Functions]] |
Revision as of 09:07, 23 March 2011
A command for Oblivion Script Extender
Syntax:
(nuSkillExperience:float) IncrementPlayerSkillUse skill:name whichAction:short howManyTimes:float
Records some additional uses of one of the skill actions. Increments Skill Level by using the internal formula if necessary. whichAction defaults to 0, howManytimes defaults to 1 if omitted.
Example
float Exp set Exp to (IncrementPlayerSkillUse Alchemy 1 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.