Jump to content

Recommended Posts

Posted

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?

Posted
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.
Posted (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 by steve40
Posted

 

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))

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...