Talk:ActorValueInfo Script

From the CreationKit Wiki
Jump to navigation Jump to search

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)