Ran Posted March 14, 2015 Share Posted March 14, 2015 I swear I've been researching this for about 3 hours, and it sounds like it should be the simplest thing ever, but I can't for the life of me make it work. I just want to add a passive health regen to the player. All the time, no if's, no nothing. There's multiple mods that add health regen but they are all needlessly complicated for what I want, and I couldn't really extract what I want from checking their codes. I always get the dumbest errors which I'm sure can be solved really easily, but I just don't know how.The most basic I could find around was:inst.components.health:StartRegen( , ) --regen amount and period here, also looks like a butt when emptybut that gives me an error saying inst is a nil value. I tried solving that, but then it also said components was a nil value. I'm almost sure this is all really dumb to solve for someone who knows about it, but unfortunately I just don't. Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.