timer reset

bluebyu25bluebyu25 Member Posts: 500
edited November -1 in Working with GS (Mac)
Hey all,

Never used it before but I assumed in the self attribute "timer" was referring to a timer behavior you have set for your actor. I only have one timer in my actor. But it isn't resetting it, maybe because it is dealing with a change velocity and the velocity is still carrying over from when I put it back at its original XY position. But really I dont even know if that's what the attribute is referring too in the first place lol

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    the self.time attribute is a counter that starts from the point the actor loads to the point it is destroyed. nothing to do with reseting timers you place in the actor
  • bluebyu25bluebyu25 Member Posts: 500
    What is it useful for?

    PS- Hope your car windows are down bc it is raining cats and dogs in springfield lol
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    bluebyu25 said:
    What is it useful for?

    PS- Hope your car windows are down bc it is raining cats and dogs in springfield lol

    Honestly I havent found a use for it yet. LOL but i'm sure it's useful for some advanced equations.

    And down? thats cold hearted. My house just shook like a freaking small earth quake from this thunder.
  • bluebyu25bluebyu25 Member Posts: 500
    haha what a FAIL I meant up lol!
  • kdp2561kdp2561 Member Posts: 1
    You can use self.time to reset the time when you reset the scene. So, instead of using game.time to set up the equation for the timer use self.time and then you can do different times for different scenes. When you reset the scene it will reset the time.
Sign In or Register to comment.