Decimal point in time real attribute

SamXOOO7SamXOOO7 Member Posts: 47
edited November -1 in Working with GS (Mac)
Ok i figured out how to make an ongoing timer starting whenever I want. But now I cant figure out how to add a decimal between the millisecond and the seconds. I tried using the cookbook time demo for just seconds and milliseconds. It just acted like all the numbers were seconds and put a .0 after it and then counted up to 60 and reset every time. Can someone be kind enough to help me out, thanks.

I have a boolean attribute: When true and button is released change attribute - to - attribute +1 every .1 seconds.

Comments

  • FloridaGamesFloridaGames Member Posts: 328
    every .1 second.
    change attribute to attribute +.1
  • SamXOOO7SamXOOO7 Member Posts: 47
    wow.. that actually worked thanks! But is there any way to make the extra 0 at the end go away?
  • FloridaGamesFloridaGames Member Posts: 328
    you could:
    every 0.01 sec
    change attribute to attribute+.01
    it will have kilo seconds though.
    i not sure how to just drop that 0 though.
  • SamXOOO7SamXOOO7 Member Posts: 47
    i might try that, but i think it would be better with out kilo seconds. I guess ill just have to put an actor over it. But thanks! I never would have thought of changing it to.1.
Sign In or Register to comment.