If you have Actor Value Generator installed and working you can use HighHeelsOffset in your scripts "out of the box".

If (Game.GetPlayer().GetActorValue("HighHeelsOffset") > 20.0)
Debug.Trace("Oh wow, these high heels are pretty... high")
EndIf


You can also use HighHeelsOffset in GetActorValue condition function inside your plugin.
- Creation Kit doesn't allow you to use any actor values except pre-defined.
- For this case you need to create a [...]_AVG.toml file in "Data/SKSE/Plugins/ActorValueData" folder specific for your plugin.
- Fill it with this text >

[Include]
"MyPluginName.esp" = ["HighHeelsOffset"]


- This will inject HighHeelsOffset into your plugin as Mood alias (this actor value is not used by player or NPCs).
- Now if you make a condition with Mood it will work as a condition with HighHeelsOffset actor value.
- This behavior will be related only to your plugin, any other mods will operate over original Mood, also it will stay unaffected.

Example addon with both methods (script and condition) is available in optional files. It will switch 5 messages between 5 HighHeelsOffset ranges from 0 to 16.

Article information

Added on

Edited on

Written by

MeridianoRus

0 comments