Creating timers for hours

Post » Tue May 17, 2011 2:05 am

If I understand the GECK wiki right, you can create a timer that will last for hours. Yet, I'm still completely clueless on how to make one.

What I would like to do is create fission battery powered appliances. My first thought being a container that you put the batteries in, and turn on your generator. Then, the generator ticks down (an hour, say) and then removes the battery from the container. But I can't figure out how that would work, either. So making a simpler one, where you just activate it, and it takes a fission battery from you, and sets a global timer +60. Then, turning the generator on, it ticks the global down one for every real minute passed.

But I can't figure that out, either. Could someone lend me a hand?
User avatar
Kaylee Campbell
 
Posts: 3463
Joined: Mon Mar 05, 2007 11:17 am

Post » Mon May 16, 2011 11:11 pm

Check out http://www.cipscis.com/, there is an excellent tutorial there for how to make Loops using FOSE.

Luck,

Miax
User avatar
Love iz not
 
Posts: 3377
Joined: Sat Aug 25, 2007 8:55 pm

Post » Tue May 17, 2011 8:45 am

You could have a quest with a quest script and the delay set to 60 seconds to count down the minutes that you would have as a quest variable. When the variable reached 0, then stop whatever action that taking the fission battery from the player initiated (starting the appliance or effect, etc). You would need other variables to enable/disable code that starts/stops your appliance when these events occur. So when you activate the appliance, a short Object script on it takes the fission battery from the player, then sets the quest variables to make it work and count down the minutes.
User avatar
Ice Fire
 
Posts: 3394
Joined: Fri Nov 16, 2007 3:27 am


Return to Fallout 3