Solatium Posted December 31, 2017 Posted December 31, 2017 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?
AWP3RATOR Posted December 31, 2017 Posted December 31, 2017 I'm not entirely sure how Defeat and DAYMOL do it, but it would be worth looking in to their scripts dealing with the player's death/health.
Nazzzgul666 Posted January 3, 2018 Posted January 3, 2018 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.