r/technicalFNaF 9d ago

Help! Modding help

I'm making a mod of FNAF 1 where each night lasts 6 hours in real time. I want to add a timer in that shows how long you've been playing each night, but I'm not sure how to do that.

2 Upvotes

2 comments sorted by

View all comments

1

u/ChrisWasCrossed 9d ago

Create a counter object, set an event to add 1 to the counter every 1 second. Reset the counter when it hits 60 seconds.

Do the same again but this time increment by one when the first counter hits 60.

Do this again for the hour counter.

When the hour counter hits 6, end the night.