Bethestar Posted October 3, 2016 Share Posted October 3, 2016 I need a way to check if the player has died in the previous game after re-loading a save. So something that persists through loading. I'd go for setini but how do I access it after loading without a getini command. Any idea? Link to comment Share on other sites More sharing options...
werr92 Posted October 6, 2016 Share Posted October 6, 2016 Use globals. Create a quest with player alias and set it to recieve ondying and onplayerloadgame. The first event sets global variable 1 (0-1), the second checks its value on save load (don't forget to switch it back to 0). A quest should be of start game enabled type. Link to comment Share on other sites More sharing options...
steve40 Posted October 7, 2016 Share Posted October 7, 2016 (edited) Use globals. Create a quest with player alias and set it to recieve ondying and onplayerloadgame. The first event sets global variable 1 (0-1), the second checks its value on save load (don't forget to switch it back to 0). A quest should be of start game enabled type. As soon as you reload the game after death, the global variable data will be set back to what it was in the last save before you died, so that idea won't work :smile: Basically, it's simply not possible. Even the in-game misc stats doesn't record the number of times the player has died. Edited October 7, 2016 by steve40 Link to comment Share on other sites More sharing options...
werr92 Posted October 7, 2016 Share Posted October 7, 2016 Use globals. Create a quest with player alias and set it to recieve ondying and onplayerloadgame. The first event sets global variable 1 (0-1), the second checks its value on save load (don't forget to switch it back to 0). A quest should be of start game enabled type. As soon as you reload the game after death, the global variable data will be set back to what it was in the last save before you died, so that idea won't work :smile: lol, my bad. That was stupid) It is pretty obvious)) Link to comment Share on other sites More sharing options...
zilav Posted October 7, 2016 Share Posted October 7, 2016 Need FO4SE plugin to store such data in an external file like json, no other way around. Link to comment Share on other sites More sharing options...
Bethestar Posted October 12, 2016 Author Share Posted October 12, 2016 thx for the replies guys. It is possible I've done it in Skyrim before, but with the use SKSE... Link to comment Share on other sites More sharing options...
Recommended Posts