Jump to content

Timer Troubles


senterpat

Recommended Posts

I'm having a bit of trouble with my quest timer:

if ethanollevel > 0
	if bloodlvl > 0
		set timer to getsecondspassed
			if timer >= 1
				set ethanollevel to (ethanollevel - 1)
				set timer to 0
			else
				set timer to timer + getsecondspassed
			endif
	else
		set ethanollevel to 0
	endif
endif

I need it to be higher than a short amount of time, but raising the timer to as high as 10 makes the reduction not occur. Any help would be appreciated.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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