Difference between revisions of "IncrementPlayerSkillUse"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Changed syntax this time)
imported>Haama
Line 8: Line 8:
'''Example'''
'''Example'''
  float Exp
  float Exp
  set Exp to (IncrementPlayerSkillUse Alchemy 1)
  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.
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.



Revision as of 12:05, 4 November 2007

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.

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.

See Also