Difference between revisions of "GetPlayerSkillUse"
Jump to navigation
Jump to search
imported>WereWolf |
imported>Talkie Toaster |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
(skillExperience:float) GetPlayerSkillUse skill: | (skillExperience:float) GetPlayerSkillUse skill:name | ||
Returns the current experience towards the next level of the skill. | Returns the current experience towards the next level of the skill. | ||
'''Example''' | |||
float Exp | |||
set Exp to (GetPlayerSkillUse Alchemy) | |||
Sets ''Exp'' to the player's current amount of experience for alchemy. | |||
==Notes== | |||
*When the player makes a successful attack, the skill responsible is not updated until a few frames after the attack animation has finished playing. | |||
==See Also== | ==See Also== | ||
Line 90: | Line 24: | ||
[[Category: Player Functions]] | [[Category: Player Functions]] | ||
[[Category: Player Functions (OBSE)]] | [[Category: Player Functions (OBSE)]] | ||
Latest revision as of 17:38, 1 July 2008
A command for Oblivion Script Extender
Syntax:
(skillExperience:float) GetPlayerSkillUse skill:name
Returns the current experience towards the next level of the skill.
Example
float Exp set Exp to (GetPlayerSkillUse Alchemy)
Sets Exp to the player's current amount of experience for alchemy.
Notes[edit | edit source]
- When the player makes a successful attack, the skill responsible is not updated until a few frames after the attack animation has finished playing.