Effect condition to kick in after a few seconds...?

Post » Thu Jun 21, 2012 8:33 am

I just posted a simple vampire mod on the Steam workshop.
Already I ran into a little problem.

What the mod does is add a condition to the Vampire's Weakness to Sunlight effect that checks light level when you're on the Skyrim Worldspace. So you can take cover in shadows to remove the Weakness effect and regenerate health/magicka/stamina.

But the problem at the moment is: when you're just running through the world, you're going in and out of shadows all the time, so the 'Vampire blood boils in the sunlight' message and visual/audio effect keeps popping up.


How would I make this a timed condition so that you only lose the Weakness effect after hiding the the shadows for like say... 5 seconds?
User avatar
john page
 
Posts: 3401
Joined: Thu May 31, 2007 10:52 pm

Return to V - Skyrim