Reply To: Time Stamp Error Help

Forum Archive Time Stamp Error Help Reply To: Time Stamp Error Help

#44333
Jonathan Gonzalez
Participant

    At first glance, it doesn’t show me anywhere where you would start off at a random value like 4:00. Your theTime variable is set to 0 by default that’s why it always starts off that way. You can change it in Start randomly with something like this:

    theTime = Random.Range(0, 10);
    

    Then whenever you play the game it’ll randomly give it a value between 0 and 10, but note this will also change the values for the hours/minutes/seconds as well. If that’s all you wanted then that should be an easy fix.