Difference between revisions of "Talk:ActorValueInfo Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Mlheur
(Created page with "With Dawnguard installed, two non-skills have been made into skills, so skse returns true on IsSkill() but Actor.SetActorValue() says <pre> [07/10/2016 - 01:33:10PM] error: Ac...")
 
imported>Rasikko
(GetExperienceForLevel for skills is returning larger values for this version.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Can't get/set certain actor values ==
With Dawnguard installed, two non-skills have been made into skills, so skse returns true on IsSkill() but Actor.SetActorValue() says
With Dawnguard installed, two non-skills have been made into skills, so skse returns true on IsSkill() but Actor.SetActorValue() says
<pre>
<pre>
Line 16: Line 17:
</pre>
</pre>
I've not been able to find alternate names for these that work with getav
I've not been able to find alternate names for these that work with getav
:"MagickaRateMod" and "HealRatePowerMod" are most likely unused/obsolete Actor Values. Unused and/or obsolete AVs are listed here as well for the sake of completeness. For Get/Set/ModAV stick to [[Actor_Value#List_of_Actor_Values|this list]]. --[[User:Svarr|Svarr]] ([[User talk:Svarr|talk]]) 2016-07-18T11:38:03 (EDT)
== GetExperienceForLevel(Skill version) ==
I'm finding that GetExperienceForLevel for skills is not returning the correct values. The return value is much larger than it should be. Example, 99-100 is over 1.58million exp required, which is significantly less than that according to my in game tests and formula exposed by the function in the SKSE source file. --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2018-05-26T07:57:32 (EDT)

Latest revision as of 06:57, 26 May 2018

Can't get/set certain actor values[edit source]

With Dawnguard installed, two non-skills have been made into skills, so skse returns true on IsSkill() but Actor.SetActorValue() says

[07/10/2016 - 01:33:10PM] error: Actor value "MagickaRateMod" does not exist.
stack:
	[ (00000014)].Actor.SetActorValue() - "<native>" Line ?

or

[07/10/2016 - 01:33:10PM] error: Actor value "HealRatePowerMod" does not exist.
stack:
	[ (00000014)].Actor.SetActorValue() - "<native>" Line ?

Actor Values:

158	HealRatePowerMod
159	MagickaRateMod

I've not been able to find alternate names for these that work with getav

"MagickaRateMod" and "HealRatePowerMod" are most likely unused/obsolete Actor Values. Unused and/or obsolete AVs are listed here as well for the sake of completeness. For Get/Set/ModAV stick to this list. --Svarr (talk) 2016-07-18T11:38:03 (EDT)

GetExperienceForLevel(Skill version)[edit source]

I'm finding that GetExperienceForLevel for skills is not returning the correct values. The return value is much larger than it should be. Example, 99-100 is over 1.58million exp required, which is significantly less than that according to my in game tests and formula exposed by the function in the SKSE source file. --Rasikko (talk) 2018-05-26T07:57:32 (EDT)