Difference between revisions of "GetNthEffectItemActorValue"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Added obse link/Fixed syntax/Added Categories)
imported>WereWolf
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
GetNthEffectItemActorValue - gets the actor value of the specified effect item


'''Syntax:'''
'''Syntax:'''
Line 8: Line 6:
  (actorValueCode:long) GetNthEIAV magicItem:ref whichEffect:short
  (actorValueCode:long) GetNthEIAV magicItem:ref whichEffect:short


==Notes==
Gets the actor value of the specified effect item.
*Actor Value Codes:
 
  0:    Strength
'''Actor Value Codes:'''
  1:    Intelligence
  0:    Strength
  2:    Willpower
  1:    Intelligence
  3:    Agility
  2:    Willpower
  4:    Speed
  3:    Agility
  5:    Endurance
  4:    Speed
  6:    Personality
  5:    Endurance
  7:    Luck
  6:    Personality
  8:    Health
  7:    Luck
  9:    Magicka
  8:    Health
10:    Fatigue
  9:    Magicka
11:    Encumbrance
  10:    Fatigue
12:    Armorer
  11:    Encumbrance
13:    Athletics
  12:    Armorer
14:    Blade
  13:    Athletics
15:    Block
  14:    Blade
16:    Blunt
  15:    Block
17:    HandToHand
  16:    Blunt
18:    HeavyArmor
  17:    HandToHand
19:    Alchemy
  18:    HeavyArmor
20:    Alteration
  19:    Alchemy
21:    Conjuration
  20:    Alteration
22:    Destruction
  21:    Conjuration
23:    Illusion
  22:    Destruction
24:    Mysticism
  23:    Illusion
25:    Restoration
  24:    Mysticism
26:    Acrobatics
  25:    Restoration
27:    LightArmor
  26:    Acrobatics
28:    Marksman
  27:    LightArmor
29:    Mercantile
  28:    Marksman
30:    Security
  29:    Mercantile
31:    Sneak
  30:    Security
32:    Speechcraft
  31:    Sneak
33:    Aggression
  32:    Speechcraft
34:    Confidence
  33:    Aggression
35:    Energy
  34:    Confidence
36:    Responsibility
  35:    Energy
37:    Bounty
  36:    Responsibility
38:    Fame
  37:    Bounty
39:    Infamy
  38:    Fame
40:    MagickaMultiplier
  39:    Infamy
41:    NightEyeBonus
  40:    MagickaMultiplier
42:    AttackBonus
  41:    NightEyeBonus
43:    DefendBonus
  42:    AttackBonus
44:    CastingPenalty
  43:    DefendBonus
45:    Blindness
  44:    CastingPenalty
46:    Chameleon
  45:    Blindness
47:    Invisibility
  46:    Chameleon
48:    Paralysis
  47:    Invisibility
49:    Silence
  48:    Paralysis
50:    Confusion
  49:    Silence
51:    DetectItemRange
  50:    Confusion
52:    SpellAbsorbChance
  51:    DetectItemRange
53:    SpellReflectChance
  52:    SpellAbsorbChance
54:    SwimSpeedMultiplier
  53:    SpellReflectChance
55:    WaterBreathing
  54:    SwimSpeedMultiplier
56:    WaterWalking
  55:    WaterBreathing
57:    StuntedMagicka
  56:    WaterWalking
58:    DetectLifeRange
  57:    StuntedMagicka
59:    ReflectDamage
  58:    DetectLifeRange
60:    Telekinesis
  59:    ReflectDamage
61:    ResistFire
  60:    Telekinesis
62:    ResistFrost
  61:    ResistFire
63:    ResistDisease
  62:    ResistFrost
64:    ResistMagic
  63:    ResistDisease
65:    ResistNormalWeapons
  64:    ResistMagic
68:    ResistParalysis
  65:    ResistNormalWeapons
67:    ResistPoison
  68:    ResistParalysis
68:    ResistShock
  67:    ResistPoison
69:    Vampirism
  68:    ResistShock
70:    Darkness
  69:    Vampirism
71:    ResistWaterDamage
  70:    Darkness
  71:    ResistWaterDamage
  256:    No Actor Value
  256:    No Actor Value



Revision as of 12:29, 14 September 2007

A command for Oblivion Script Extender

Syntax:

(actorValueCode:long) GetNthEffectItemActorValue magicItem:ref whichEffect:short
(actorValueCode:long) GetNthEIAV magicItem:ref whichEffect:short

Gets the actor value of the specified effect item.

Actor Value Codes:
  0:    Strength
  1:    Intelligence
  2:    Willpower
  3:    Agility
  4:    Speed
  5:    Endurance
  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

SetNthEffectItemActorValue