Table of Contents

Class ActorValueInfoScript

Namespace
SkyrimForge.Papyrus
Assembly
SkyrimForge.Game.dll

Functions and comments from ActorValueInfo.psc.

public static class ActorValueInfoScript
Inheritance
ActorValueInfoScript
Inherited Members

Properties

Dispatcher

The dispatcher that binds this script to a form and calls the functions and properties that have no generated member.

public static PapyrusScriptDispatcher Dispatcher { get; }

Property Value

PapyrusScriptDispatcher

Methods

AddSkillExperience(PapyrusScript<ActorValueInfo>, float)

Adds experience to this skill (Same as console AdvanceSkill, triggers skill-up)

public static Task AddSkillExperience(this PapyrusScript<ActorValueInfo> self, float exp)

Parameters

self PapyrusScript<ActorValueInfo>
exp float

Returns

Task

GetAVIByID(int)

public static Task<ActorValueInfo?> GetAVIByID(int id)

Parameters

id int

Returns

Task<ActorValueInfo?>

GetAVIByName(string)

public static Task<ActorValueInfo?> GetAVIByName(string avName)

Parameters

avName string

Returns

Task<ActorValueInfo?>

GetActorValueInfoByID(int)

public static Task<ActorValueInfo?> GetActorValueInfoByID(int id)

Parameters

id int

Returns

Task<ActorValueInfo?>

GetActorValueInfoByName(string)

public static Task<ActorValueInfo?> GetActorValueInfoByName(string avName)

Parameters

avName string

Returns

Task<ActorValueInfo?>

GetBaseValue(PapyrusScript<ActorValueInfo>, IActor)

Same as Actor.GetBaseActorValue (convenience function)

public static Task<float> GetBaseValue(this PapyrusScript<ActorValueInfo> self, IActor akActor)

Parameters

self PapyrusScript<ActorValueInfo>
akActor IActor

Returns

Task<float>

GetCurrentValue(PapyrusScript<ActorValueInfo>, IActor)

Same as Actor.GetActorValue (convenience function)

public static Task<float> GetCurrentValue(this PapyrusScript<ActorValueInfo> self, IActor akActor)

Parameters

self PapyrusScript<ActorValueInfo>
akActor IActor

Returns

Task<float>

GetExperienceForLevel(PapyrusScript<ActorValueInfo>, int)

Returns the experience required for skill-up (ImproveMult * currentLevel ^ fSkillUseCurve + ImproveOffset)

public static Task<float> GetExperienceForLevel(this PapyrusScript<ActorValueInfo> self, int currentLevel)

Parameters

self PapyrusScript<ActorValueInfo>
currentLevel int

Returns

Task<float>

GetMaximumValue(PapyrusScript<ActorValueInfo>, IActor)

Acquires the Maximum value for the current ActorValue

public static Task<float> GetMaximumValue(this PapyrusScript<ActorValueInfo> self, IActor akActor)

Parameters

self PapyrusScript<ActorValueInfo>
akActor IActor

Returns

Task<float>

GetPerkTree(PapyrusScript<ActorValueInfo>, FormList, IActor?, bool, bool)

Returns perks from the skill into the FormList Actor filter applies to unowned and allRanks unowned will add perks that the actor does not own, or only perks the actor owns allRanks will add all ranks of each perk to the list, unowned/owned filter also applies

public static Task GetPerkTree(this PapyrusScript<ActorValueInfo> self, FormList list, IActor? akActor = null, bool unowned = true, bool allRanks = false)

Parameters

self PapyrusScript<ActorValueInfo>
list FormList
akActor IActor
unowned bool
allRanks bool

Returns

Task

GetPerks(PapyrusScript<ActorValueInfo>, IActor?, bool, bool)

Same as GetPerkTree except returns into a new array

public static Task<Perk[]> GetPerks(this PapyrusScript<ActorValueInfo> self, IActor? akActor = null, bool unowned = true, bool allRanks = false)

Parameters

self PapyrusScript<ActorValueInfo>
akActor IActor
unowned bool
allRanks bool

Returns

Task<Perk[]>

GetSkillExperience(PapyrusScript<ActorValueInfo>)

Returns the amount of experienced gained in this skill

public static Task<float> GetSkillExperience(this PapyrusScript<ActorValueInfo> self)

Parameters

self PapyrusScript<ActorValueInfo>

Returns

Task<float>

GetSkillImproveMult(PapyrusScript<ActorValueInfo>)

public static Task<float> GetSkillImproveMult(this PapyrusScript<ActorValueInfo> self)

Parameters

self PapyrusScript<ActorValueInfo>

Returns

Task<float>

GetSkillImproveOffset(PapyrusScript<ActorValueInfo>)

public static Task<float> GetSkillImproveOffset(this PapyrusScript<ActorValueInfo> self)

Parameters

self PapyrusScript<ActorValueInfo>

Returns

Task<float>

GetSkillLegendaryLevel(PapyrusScript<ActorValueInfo>)

Returns the legendary level of this skill

public static Task<int> GetSkillLegendaryLevel(this PapyrusScript<ActorValueInfo> self)

Parameters

self PapyrusScript<ActorValueInfo>

Returns

Task<int>

GetSkillOffsetMult(PapyrusScript<ActorValueInfo>)

public static Task<float> GetSkillOffsetMult(this PapyrusScript<ActorValueInfo> self)

Parameters

self PapyrusScript<ActorValueInfo>

Returns

Task<float>

GetSkillUseMult(PapyrusScript<ActorValueInfo>)

public static Task<float> GetSkillUseMult(this PapyrusScript<ActorValueInfo> self)

Parameters

self PapyrusScript<ActorValueInfo>

Returns

Task<float>

IsSkill(PapyrusScript<ActorValueInfo>)

Returns whether this AVI is a skill

public static Task<bool> IsSkill(this PapyrusScript<ActorValueInfo> self)

Parameters

self PapyrusScript<ActorValueInfo>

Returns

Task<bool>

SetSkillExperience(PapyrusScript<ActorValueInfo>, float)

Does not trigger skill-up

public static Task SetSkillExperience(this PapyrusScript<ActorValueInfo> self, float exp)

Parameters

self PapyrusScript<ActorValueInfo>
exp float

Returns

Task

SetSkillImproveMult(PapyrusScript<ActorValueInfo>, float)

public static Task SetSkillImproveMult(this PapyrusScript<ActorValueInfo> self, float value)

Parameters

self PapyrusScript<ActorValueInfo>
value float

Returns

Task

SetSkillImproveOffset(PapyrusScript<ActorValueInfo>, float)

public static Task SetSkillImproveOffset(this PapyrusScript<ActorValueInfo> self, float value)

Parameters

self PapyrusScript<ActorValueInfo>
value float

Returns

Task

SetSkillLegendaryLevel(PapyrusScript<ActorValueInfo>, int)

Sets the legendary level of this skill

public static Task SetSkillLegendaryLevel(this PapyrusScript<ActorValueInfo> self, int level)

Parameters

self PapyrusScript<ActorValueInfo>
level int

Returns

Task

SetSkillOffsetMult(PapyrusScript<ActorValueInfo>, float)

public static Task SetSkillOffsetMult(this PapyrusScript<ActorValueInfo> self, float value)

Parameters

self PapyrusScript<ActorValueInfo>
value float

Returns

Task

SetSkillUseMult(PapyrusScript<ActorValueInfo>, float)

public static Task SetSkillUseMult(this PapyrusScript<ActorValueInfo> self, float value)

Parameters

self PapyrusScript<ActorValueInfo>
value float

Returns

Task