Difference between revisions of "ActorValueInfo Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
(Added ActorValue ID list)
imported>CraftySentinel
(Updated List which was incorrect due to obsolete AVs being included)
Line 86: Line 86:
<source lang="papyrus">
<source lang="papyrus">
ID NAME
ID NAME
0 Aggression
0 Aggression
1 Confidence
1 Confidence
2 Energy
2 Energy
3 Morality
3 Morality
4 Mood
4 Mood
5 Assistance
5 Assistance
6 OneHanded
6 OneHanded
7 TwoHanded
7 TwoHanded
8 Marksman
8 Marksman
9 Block
9 Block
10 Smithing
10 Smithing
11 HeavyArmor
11 HeavyArmor
12 LightArmor
12 LightArmor
13 Pickpocket
13 Pickpocket
14 Lockpicking
14 LockPicking
15 Sneak
15 Sneak
16 Alchemy
16 Alchemy
17 Speechcraft
17 SpeechCraft
18 Alteration
18 Alteration
19 Conjuration
19 Conjuration
20 Destruction
20 Destruction
21 Mysticism
21 Mysticism
22 Restoration
22 Restoration
23 Enchanting
23 Enchanting
24 Health
24 Health
25 Magicka
25 Magicka
26 Stamina
26 Stamina
27 HealRate
27 HealRate
28 MagickaRate
28 MagickaRate
29 StaminaRate
29 StaminaRate
30 SpeedMult
30 SpeedMult
31 InventoryWeight
31 InventoryWeight
32 CarryWeight
32 CarryWeight
33 CritChance
33 CritChance
34 MeleeDamage
34 MeleeDamage
35 UnarmedDamage
35 UnarmedDamage
36 Mass
36 Mass
37 VoicePoints
37 VoicePoints
38 VoiceRate
38 VoiceRate
39 DamageResist
39 DamageResist
40 PoisonResist
40 PoisonResist
41 FireResist
41 FireResist
42 ElectricResist
42 ElectricResist
43 FrostResist
43 FrostResist
44 MagicResist
44 MagicResist
45 NormalWeaponsResist
45 NormalWeaponsResist
46 Paralysis
46 PerceptionCondition
47 Invisibility
47 EnduranceCondition
48 NightEye
48 LeftAttackCondition
49 DetectLifeRange
49 RightAttackCondition
50 WaterBreathing
50 LeftMobilityCondition
51 WaterWalking
51 RightMobilityCondition
52 Fame
52 BrainCondition
53 Infamy
53 Paralysis
54 JumpingBonus
54 Invisibility
55 WardPower
55 NightEye
56 EquippedItemCharge
56 DetectLifeRange
57 ArmorPerks
57 WaterBreathing
58 ShieldPerks
58 WaterWalking
59 WardDeflection
59 IgnoreCrippleLimbs
60 Variable01
60 Fame
61 Variable02
61 Infamy
62 Variable03
62 JumpingBonus
63 Variable04
63 WardPower
64 Variable05
64 EquippedItemCharge
65 Variable06
65 ArmorPerks
66 Variable07
66 ShieldPerks
67 Variable08
67 WardDeflection
68 Variable09
68 Variable01
69 Variable10
69 Variable02
70 BowSpeedBonus
70 Variable03
71 FavorActive
71 Variable04
72 FavorsPerDay
72 Variable05
73 FavorsPerDayTimer
73 Variable06
74 EquippedStaffCharge
74 Variable07
75 AbsorbChance
75 Variable08
76 Blindness
76 Variable09
77 WeaponSpeedMult
77 Variable10
78 ShoutRecoveryMult
78 BowSpeedBonus
79 BowStaggerBonus
79 FavorActive
80 Telekinesis
80 FavorsPerDay
81 FavorPointsBonus
81 FavorsPerDayTimer
82 LastBribedIntimidated
82 EquippedStaffCharge
83 LastFlattered
83 AbsorbChance
84 Muffled
84 Blindness
85 BypassVendorStolenCheck
85 WeaponSpeedMult
86 BypassVendorKeywordCheck
86 ShoutRecoveryMult
87 WaitingForPlayer
87 BowStaggerBonus
88 OneHandedMod
88 Telekinesis
89 TwoHandedMod
89 FavorPointsBonus
90 MarksmanMod
90 LastBribedIntimidated
91 BlockMod
91 LastFlattered
92 SmithingMod
92 Muffled
93 HeavyArmorMod
93 BypassVendorStolenCheck
94 LightArmorMod
94 BypassVendorKeywordCheck
95 PickPocketMod
95 WaitingForPlayer
96 LockpickingMod
96 OneHandedMod
97 SneakMod
97 TwoHandedMod
98 AlchemyMod
98 MarksmanMod
99 SpeechcraftMod
99 BlockMod
100 AlterationMod
100 SmithingMod
101 ConjurationMod
101 HeavyArmorMod
102 DestructionMod
102 LightArmorMod
103 IllusionMod
103 PickPocketMod
104 RestorationMod
104 LockPickingMod
105 EnchantingMod
105 SneakMod
106 OneHandedSkillAdvance
106 AlchemyMod
107 TwoHandedSkillAdvance
107 SpeechcraftMod
108 MarksmanSkillAdvance
108 AlterationMod
109 BlockSkillAdvance
109 ConjurationMod
110 SmithingSkillAdvance
110 DestructionMod
111 HeavyArmorSkillAdvance
111 IllusionMod
112 LightArmorSkillAdvance
112 RestorationMod
113 PickPocketSkillAdvance
113 EnchantingMod
114 LockpickingSkillAdvance
114 OneHandedSkillAdvance
115 SneakSkillAdvance
115 TwoHandedSkillAdvance
116 AlchemySkillAdvance
116 MarksmanSkillAdvance
117 SpeechcraftSkillAdvance
117 BlockSkillAdvance
118 AlterationSkillAdvance
118 SmithingSkillAdvance
119 ConjurationSkillAdvance
119 HeavyArmorSkillAdvance
120 DestructionSkillAdvance
120 LightArmorSkillAdvance
121 IllusionSkillAdvance
121 PickPocketSkillAdvance
122 RestorationSkillAdvance
122 LockPickingSkillAdvance
123 EnchantingSkillAdvance
123 SneakSkillAdvance
124 LeftWeaponSpeedMult
124 AlchemySkillAdvance
125 DragonSouls
125 SpeechcraftSkillAdvance
126 CombatHealthRegenMult
126 AlterationSkillAdvance
127 OneHandedPowerMod
127 ConjurationSkillAdvance
128 TwoHandedPowerMod
128 DestructionSkillAdvance
129 MarksmanPowerMod
129 IllusionSkillAdvance
130 BlockPowerMod
130 RestorationSkillAdvance
131 SmithingPowerMod
131 EnchantingSkillAdvance
132 HeavyArmorPowerMod
132 LeftWeaponSpeedMult
133 LightArmorPowerMod
133 DragonSouls]
134 PickPocketPowerMod
134 CombatHealthRegenMult
135 LockpickingPowerMod
135 OneHandedPowerMod
136 SneakPowerMod
136 TwoHandedPowerMod
137 AlchemyPowerMod
137 MarksmanPowerMod
138 SpeechcraftPowerMod
138 BlockPowerMod
139 AlterationPowerMod
139 SmithingPowerMod
140 ConjurationPowerMod
140 HeavyArmorPowerMod
141 DestructionPowerMod
141 LightArmorPowerMod
142 IllusionPowerMod
142 PickPocketPowerMod
143 RestorationPowerMod
143 LockPickingPowerMod
144 EnchantingPowerMod
144 SneakPowerMod
145 DragonRend
145 AlchemyPowerMod
146 AttackDamageMult
146 SpeechcraftPowerMod
147 CombatHealthRegenMultMod
147 AlterationPowerMod
148 CombatHealthRegenMultPowerMod
148 ConjurationPowerMod
149 StaminaRateMult
149 DestructionPowerMod
150 HealRatePowerMod
150 IllusionPowerMod
151 MagickaRateMod
151 RestorationPowerMod
152 GrabActorOffset
152 EnchantingPowerMod
153 Grabbed
153 DragonRend
154 ReflectDamage
154 AttackDamageMult
155 CombatHealthRegenMultMod
156 CombatHealthRegenMultPowerMod
157 StaminaRateMult
158 HealRatePowerMod
159 MagickaRateMod
160 GrabActorOffset
161 Grabbed
162 UNKNOWN
163 ReflectDamage
</source>
</source>



Revision as of 00:55, 5 February 2014


Extends: Form Script

Script for the manipulation of actor value info. This Script Object was added in SKSE 1.07.0.

Definition

ScriptName ActorValueInfo extends Form Hidden

SKSE Global Functions

ActorValueInfo GetActorValueInfoByName(String avName)

  • Returns the AVI by name. (See Actor Value IDs for a full list of Names and IDs for Actor Values)

ActorValueInfo GetAVIByName(String avName)

  • Alias for GetActorValueInfoByName.

ActorValueInfo GetActorValueInfoByID(Int id)

  • Returns the AVI by ID.

ActorValueInfo GetAVIByID(Int id)

  • Alias for GetActorValueInfoByID.

SKSE Member Functions

Bool IsSkill()

  • Returns whether this AVI is a skill.

Float GetSkillUseMult()

  • Return the skill use Multiplier for the AVI.

SetSkillUseMult(Float value)

  • Sets the skill use Multiplier for the AVI.

Float GetSkillOffsetMult()

  • Return the skill offset multiplier for the AVI.

SetSkillOffsetMult()

  • Set the skill offset multiplier for the AVI.

Float GetSkillImproveMult()

  • Return the skill improvement multiplier for the AVI.

SetSkillImproveMult()

  • Set the skill improvement multiplier for the AVI.

Float GetSkillImproveMult()

  • Set the skill improvement multiplier for the AVI.

Float GetSkillImproveOffset()

  • Returns the skill improvement offset for the AVI.

GetSkillImproveOffset(Float value)

  • Set the skill improvement offset for the AVI.

Float GetSkillExperience()

  • Returns the amount of experience gained in this skill.

SetSkillExperience(Float exp)

  • Sets the skill experience to the specified amount. (This does not cause a skill up)

AddSkillExperience(Float exp)

  • Adds the specified amount of experience to the skill (This can trigger a skill up).

Float GetExperienceForLevel(Int currentLevel)

  • Returns the experience required for a skill up at the specified skill level.

Int GetSkillLegendaryLevel()

  • Returns the legendary level of the skill.

SetSkillLegendaryLevel(Int level)

  • Set the legendary level of the skill.

GetPerkTree(FormList list, Actor akActor, Bool unowned, Bool allRanks)

  • Returns perks from the skill into the specified FormList, akActor, unowned and allRanks are used for filtering, with unowned being whether akActor has the perk and allRanks returning all ranks of the perk, unowned also applies to this.


Actor Value IDs

The Following is a list of Actor Value names and corresponding IDs for use with GetAVIByName and GetAVIByID:

ID	NAME
0	Aggression
1	Confidence
2	Energy
3	Morality
4	Mood
5	Assistance
6	OneHanded
7	TwoHanded
8	Marksman
9	Block
10	Smithing
11	HeavyArmor
12	LightArmor
13	Pickpocket
14	LockPicking
15	Sneak	
16	Alchemy	
17	SpeechCraft	
18	Alteration	
19	Conjuration	
20	Destruction	
21	Mysticism	
22	Restoration	
23	Enchanting	
24	Health	
25	Magicka	
26	Stamina	
27	HealRate	
28	MagickaRate	
29	StaminaRate	
30	SpeedMult	
31	InventoryWeight	
32	CarryWeight	
33	CritChance	
34	MeleeDamage	
35	UnarmedDamage	
36	Mass	
37	VoicePoints	
38	VoiceRate	
39	DamageResist	
40	PoisonResist	
41	FireResist	
42	ElectricResist	
43	FrostResist	
44	MagicResist	
45	NormalWeaponsResist	
46	PerceptionCondition	
47	EnduranceCondition	
48	LeftAttackCondition	
49	RightAttackCondition	
50	LeftMobilityCondition	
51	RightMobilityCondition	
52	BrainCondition	
53	Paralysis	
54	Invisibility	
55	NightEye	
56	DetectLifeRange	
57	WaterBreathing	
58	WaterWalking	
59	IgnoreCrippleLimbs	
60	Fame	
61	Infamy	
62	JumpingBonus	
63	WardPower	
64	EquippedItemCharge	
65	ArmorPerks	
66	ShieldPerks	
67	WardDeflection	
68	Variable01	
69	Variable02	
70	Variable03	
71	Variable04	
72	Variable05	
73	Variable06	
74	Variable07	
75	Variable08	
76	Variable09	
77	Variable10	
78	BowSpeedBonus	
79	FavorActive	
80	FavorsPerDay	
81	FavorsPerDayTimer	
82	EquippedStaffCharge	
83	AbsorbChance	
84	Blindness	
85	WeaponSpeedMult	
86	ShoutRecoveryMult	
87	BowStaggerBonus	
88	Telekinesis	
89	FavorPointsBonus	
90	LastBribedIntimidated	
91	LastFlattered	
92	Muffled	
93	BypassVendorStolenCheck	
94	BypassVendorKeywordCheck	
95	WaitingForPlayer	
96	OneHandedMod	
97	TwoHandedMod	
98	MarksmanMod	
99	BlockMod	
100	SmithingMod	
101	HeavyArmorMod	
102	LightArmorMod	
103	PickPocketMod	
104	LockPickingMod	
105	SneakMod	
106	AlchemyMod	
107	SpeechcraftMod	
108	AlterationMod	
109	ConjurationMod	
110	DestructionMod	
111	IllusionMod	
112	RestorationMod	
113	EnchantingMod	
114	OneHandedSkillAdvance	
115	TwoHandedSkillAdvance	
116	MarksmanSkillAdvance	
117	BlockSkillAdvance	
118	SmithingSkillAdvance	
119	HeavyArmorSkillAdvance	
120	LightArmorSkillAdvance	
121	PickPocketSkillAdvance	
122	LockPickingSkillAdvance	
123	SneakSkillAdvance	
124	AlchemySkillAdvance	
125	SpeechcraftSkillAdvance	
126	AlterationSkillAdvance	
127	ConjurationSkillAdvance	
128	DestructionSkillAdvance	
129	IllusionSkillAdvance	
130	RestorationSkillAdvance	
131	EnchantingSkillAdvance	
132	LeftWeaponSpeedMult	
133	DragonSouls]	
134	CombatHealthRegenMult	
135	OneHandedPowerMod	
136	TwoHandedPowerMod	
137	MarksmanPowerMod	
138	BlockPowerMod	
139	SmithingPowerMod	
140	HeavyArmorPowerMod	
141	LightArmorPowerMod	
142	PickPocketPowerMod	
143	LockPickingPowerMod	
144	SneakPowerMod	
145	AlchemyPowerMod	
146	SpeechcraftPowerMod	
147	AlterationPowerMod	
148	ConjurationPowerMod	
149	DestructionPowerMod	
150	IllusionPowerMod	
151	RestorationPowerMod	
152	EnchantingPowerMod	
153	DragonRend	
154	AttackDamageMult	
155	CombatHealthRegenMultMod	
156	CombatHealthRegenMultPowerMod	
157	StaminaRateMult	
158	HealRatePowerMod	
159	MagickaRateMod	
160	GrabActorOffset	
161	Grabbed	
162	UNKNOWN	
163	ReflectDamage


Notes

None