Difference between revisions of "GetPlayerSkillUse"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Fixed syntax, added example)
imported>Talkie Toaster
 
(One intermediate revision by one other user not shown)
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==
Line 20: Line 24:
[[Category: Player Functions]]
[[Category: Player Functions]]
[[Category: Player Functions (OBSE)]]
[[Category: Player Functions (OBSE)]]
[[Category: Record Variable Functions]]
[[Category: Record Variable 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.


See Also[edit | edit source]