Difference between revisions of "GetPlayerSkillUse"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender '''Syntax:''' (skillExperience:float) GetPlayerSkillUse skill:short Returns the current experience towards ...)
 
imported>Talkie Toaster
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (skillExperience:float) GetPlayerSkillUse skill:short
  (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.


'''Actor Value Codes:'''
'''Example'''
  0:    Strength
float Exp
  1:    Intelligence
set Exp to (GetPlayerSkillUse Alchemy)
  2:    Willpower
Sets ''Exp'' to the player's current amount of experience for alchemy.
  3:    Agility
 
  4:    Speed
==Notes==
  5:    Endurance
*When the player makes a successful attack, the skill responsible is not updated until a few frames after the attack animation has finished playing.
  6:    Personality
 
  7:    Luck
  8:    Health
  9:    Magicka
  10:    Fatigue
  11:    Encumbrance
  12:    Armorer
  13:    Athletics
  14:    Blade
  15:    Block
  16:    Blunt
  17:    HandToHand
  18:    HeavyArmor
  19:    Alchemy
  20:    Alteration
  21:    Conjuration
  22:    Destruction
  23:    Illusion
  24:    Mysticism
  25:    Restoration
  26:    Acrobatics
  27:    LightArmor
  28:    Marksman
  29:    Mercantile
  30:    Security
  31:    Sneak
  32:    Speechcraft
  33:    Aggression
  34:    Confidence
  35:    Energy
  36:    Responsibility
  37:    Bounty
  38:    Fame
  39:    Infamy
  40:    MagickaMultiplier
  41:    NightEyeBonus
  42:    AttackBonus
  43:    DefendBonus
  44:    CastingPenalty
  45:    Blindness
  46:    Chameleon
  47:    Invisibility
  48:    Paralysis
  49:    Silence
  50:    Confusion
  51:    DetectItemRange
  52:    SpellAbsorbChance
  53:    SpellReflectChance
  54:    SwimSpeedMultiplier
  55:    WaterBreathing
  56:    WaterWalking
  57:    StuntedMagicka
  58:    DetectLifeRange
  59:    ReflectDamage
  60:    Telekinesis
  61:    ResistFire
  62:    ResistFrost
  63:    ResistDisease
  64:    ResistMagic
  65:    ResistNormalWeapons
  68:    ResistParalysis
  67:    ResistPoison
  68:    ResistShock
  69:    Vampirism
  70:    Darkness
  71:    ResistWaterDamage
256:    No Actor Value


==See Also==
==See Also==
*[[SelectPlayerSpell]]
*[[IncrementPlayerSkillUse]]
*[[GetSkillUseIncrement]]
*[[SetSkillUseIncrement]]


[[Category: Functions]]
[[Category: Functions]]
Line 88: 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]