Player.SetAV command not persistent

Post » Mon Nov 18, 2013 2:31 am

Hey,

I wanna set Player.SetAV healrate from 0.7 to 0.05

Tried the console command and creating an ESP but the value always gets back to 0.7

Setting timescale for example works fine and is remembered after reloading.

User avatar
Sasha Brown
 
Posts: 3426
Joined: Sat Jan 20, 2007 4:46 pm

Post » Mon Nov 18, 2013 12:19 am

See here for the actor values which do not persist across saves. http://www.creationkit.com/Actor_Value#Notes

See here for how to create a maintenance quest to fix this. http://www.creationkit.com/OnPlayerLoadGame_-_Actor

Cheers :).

User avatar
Chantel Hopkin
 
Posts: 3533
Joined: Sun Dec 03, 2006 9:41 am

Post » Sun Nov 17, 2013 9:54 pm

Thanks :smile:

So the script should look like:

;Skrim Load Script;Set the player's healrate value to 0.05ScriptName PlayerHealRateScriptEvent OnPlayerLoadGame()	Game.GetPlayer().SetActorValue("healrate", 0.05)endEvent

What are the next steps? Put this in a .psc file in the data/script/source folder? compile it with creation kit?

Not sure how to get the game to regard this, never done this before :blush:

User avatar
Dale Johnson
 
Posts: 3352
Joined: Fri Aug 10, 2007 5:24 am


Return to V - Skyrim