Jump to content

Effect Registering Despite Not Meeting Conditions


Skipper2100

Recommended Posts

I'm trying to make a mod that turns the vampiric weakness to sunlight thing into a very slow trickle of health damage instead of a flat base decrease, and... well, the behaviour surrounding health works... I take damage outside, I don't inside... But I'm completely unable to wait or fast travel as apparently I'm always taking damage, even when I'm not, so... It still registers the effect as impacting my ability to wait despite the fact it's conditions aren't met and it's not actually doing anything?

 

I don't know. More importantly, I don't know how to get around this... I've tried a spell that adds a perk that damages health, I've tried a script, all the things I could think of to convince the game that I'm only taking damage when I'm actually taking damage, nothing has worked so far. At this point I can't really fathom how the game is determining when the player is taking damage because the magic effect is just a script and the script is just running an OnUpdate loop so... Maybe there's a certain period of time after calling DamageAV that the game still considers to be taking damage?

 

EDIT: Ok, turns out the script does work, and I can wait again, but it also doesn't give a damn about it's conditions either, so I've just moved the problem somewhere else, now I'm constantly taking damage no matter where I am.

Edited by Skipper2100
Link to comment
Share on other sites

  • Recently Browsing   0 members

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