Editing
ActorValueInfo Script
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[Category:Actor]] [[Category:Scripting]] [[Category:Papyrus]] [[Category:Script Objects]] [[Category:SKSE]] [[Category:SKSE Script Objects]] '''Extends:''' [[Form Script]] Script for the manipulation of actor value info. This Script Object was added in SKSE 1.07.0. == Definition == <syntaxhighlight lang="papyrus"> ScriptName ActorValueInfo extends Form Hidden </syntaxhighlight> == SKSE Global Functions == '''ActorValueInfo [[GetActorValueInfoByName - ActorValueInfo|GetActorValueInfoByName]](String ''avName'')''' *Returns the AVI by name. (See [[ActorValueInfo Script#Actor Value IDs|Actor Value IDs]] for a full list of Names and IDs for Actor Values) '''ActorValueInfo [[GetActorValueInfoByName - ActorValueInfo|GetAVIByName]](String ''avName'')''' *Alias for GetActorValueInfoByName. '''ActorValueInfo [[GetActorValueInfoByID - ActorValueInfo|GetActorValueInfoByID]](Int ''id'')''' *Returns the AVI by ID. '''ActorValueInfo [[GetActorValueInfoByID - ActorValueInfo|GetAVIByID]](Int ''id'')''' *Alias for GetActorValueInfoByID. == SKSE Member Functions == '''Bool [[IsSkill - ActorValueInfo|IsSkill]]()''' *Returns whether this AVI is a skill. '''Float [[GetSkillUseMult - ActorValueInfo|GetSkillUseMult]]()''' *Return the skill use Multiplier for the AVI. '''[[SetSkillUseMult - ActorValueInfo|SetSkillUseMult]](Float ''value'')''' *Sets the skill use Multiplier for the AVI. '''Float [[GetSkillOffsetMult - ActorValueInfo|GetSkillOffsetMult]]()''' *Return the skill offset multiplier for the AVI. '''[[SetSkillOffsetMult - ActorValueInfo|SetSkillOffsetMult]]()''' *Set the skill offset multiplier for the AVI. '''Float [[GetSkillImproveMult - ActorValueInfo|GetSkillImproveMult]]()''' *Return the skill improvement multiplier for the AVI. '''[[SetSkillImproveMult - ActorValueInfo|SetSkillImproveMult]]()''' *Set the skill improvement multiplier for the AVI. '''Float [[SetSkillImproveMult - ActorValueInfo|GetSkillImproveMult]]()''' *Set the skill improvement multiplier for the AVI. '''Float [[GetSkillImproveOffset - ActorValueInfo|GetSkillImproveOffset]]()''' *Returns the skill improvement offset for the AVI. '''[[SetSkillImproveOffset - ActorValueInfo|GetSkillImproveOffset]](Float ''value'')''' *Set the skill improvement offset for the AVI. '''Float [[GetSkillExperience - ActorValueInfo|GetSkillExperience]]()''' *Returns the amount of experience gained in this skill. '''[[SetSkillExperience - ActorValueInfo|SetSkillExperience]](Float ''exp'')''' *Sets the skill experience to the specified amount. (This does not cause a skill up) '''[[AddSkillExperience - ActorValueInfo|AddSkillExperience]](Float ''exp'')''' *Adds the specified amount of experience to the skill (This can trigger a skill up). '''Float [[GetExperienceForLevel - ActorValueInfo|GetExperienceForLevel]](Int ''currentLevel'')''' * Returns the experience required for a skill up at the specified skill level. '''Int [[GetSkillLegendaryLevel - ActorValueInfo|GetSkillLegendaryLevel]]()''' *Returns the legendary level of the skill. '''[[SetSkillLegendaryLevel - ActorValueInfo|SetSkillLegendaryLevel]](Int ''level'')''' *Set the legendary level of the skill. '''[[GetPerkTree - ActorValueInfo|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. '''Perk[] [[GetPerks - ActorValueInfo|GetPerks]](Actor ''akActor'', Bool ''unowned'', Bool ''allRanks'')''' *Same functionality as [[GetPerkTree -ActorValueInfo|GetPerkTree]] but instead returns a Perk array. '''Float [[GetCurrentValue]](Actor ''akActor'')''' * Same as '''[[GetActorValue - Actor]]'''(Convenience function) '''Float [[GetBaseValue]](Actor ''akActor'')''' * Same as '''[[GetBaseActorValue - Actor]]'''(Convenience function) '''Float [[GetMaximumValue]] (Actor ''akActor'')''' * Returns the maximum value for the actor value. == Actor Value IDs == The Following is a list of Actor Value names and corresponding IDs for use with [[GetActorValueInfoByName - ActorValueInfo| GetAVIByName]] and [[GetActorValueInfoByID - ActorValueInfo|GetAVIByID]]: <syntaxhighlight lang="papyrus"> 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 Illusion 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 ;Cannot find the name of this AVI 163 ReflectDamage </syntaxhighlight> == Notes == None ==See Also== *[[Actor Value]]
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values