Jump to content

Is there a way to cleanly resurrect the player on death?


Solatium

Recommended Posts

Posted

I'm working on a mod idea that centers around keeping the player alive no matter what happens to them (with consequences). I've looked at a couple mod frameworks that I could use, but I'd prefer to not require a 3rd party mod if I can get away with it. I've tried setting the player to essential (which I'm not a fan of, if another mod decides to unset that flag), then healing them upon death, but that introduces an edge case where if you drown and resurrect, you walk around as if you were above water. I've tried using "PushActorAway" with a small magnitude, which fixes the swimming edge case, but that randomly gets the player stuck in a scenario where they can't walk or move the camera.

 

Does anyone have any recommended ways of achieving this resurrect upon death behavior?

Posted

DAYMOL & Defeat (and almost any other Combat defeatment mod) set the player essential. The only exception afaik is https://www.loverslab.com/files/file/4005-absolute-necro/.

Didn't personally try it so far, but what i get from the description it works the way you plan to do it. However, the probably easiest way to make another mod in this direction would probably be using DAYMOL since it has some framework functions, you can just let it handle the essential flag (which it does pretty well) and register your mod as a possible outcome.

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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