Difference between revisions of "GetPlayerSkillUse"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(not a record variable function)
imported>Talkie Toaster
 
Line 10: Line 10:
  set Exp to (GetPlayerSkillUse Alchemy)
  set Exp to (GetPlayerSkillUse Alchemy)
Sets ''Exp'' to the player's current amount of experience for 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==

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.


See Also[edit | edit source]