How to count time spent using a specific cracting bench?

Post » Mon Nov 19, 2012 1:31 am

Is it possible to do what title says?

I wanted to make a quest that involves the time spent on a specific forge so that after for example collecting xxx amount of hours there the quest progresses to next phase .... Is it possible?
User avatar
Cool Man Sam
 
Posts: 3392
Joined: Thu May 10, 2007 1:19 pm

Post » Mon Nov 19, 2012 4:59 am

no ideas?
User avatar
Erich Lendermon
 
Posts: 3322
Joined: Sat Nov 03, 2007 4:20 pm

Post » Mon Nov 19, 2012 6:24 am

No easy way ... I typed something out before, but there are issues with any way I thought about it.

You could make it work, but I don't think I could make it reliable.

You'd need a couple of global variables

A script on the bench with:

OnActivate Event - to trap and store the GameHoursPassed as soon as use started
OnUpdate Event - Use IsFurnitureInUse to detect when the use stops - When no longer in use get the GameHoursPassed, subtract the previous value you stored and add that on to the other global variable you made (myStoredTime = myStoredTime + newval)


But there's going to be lots of issues with it.
User avatar
Kat Ives
 
Posts: 3408
Joined: Tue Aug 28, 2007 2:11 pm


Return to V - Skyrim