•••HELP! Display game.time without milliseconds•••
How can I display the game time, showing only minutes and seconds and not milliseconds?
I've tried to write in "Floor(Game.Time)" like BarryTheBrave suggested in another thread, but it didn't work!
Does anyone know how to do this? Please help.
I've tried to write in "Floor(Game.Time)" like BarryTheBrave suggested in another thread, but it didn't work!
Does anyone know how to do this? Please help.
Comments
And don't write FLOOR, you need to select it from the drop down box that you will see in the expression editor (like I said in the last thread). For some reason typing 'FLOOR' will not have the same effect as selecting it from the dropdown.
floor(game.time) (by writing floor and adding it from the insert function)
floorgame.time
none worked
then go inside the brackets with the cursor, make sure there's no text inside the brackets, and select game.time, so all together you should have"FLOOR(Game.Time).
I think that works but I'm at work away from gamesalad right now so I'm going from memory.
You could try this:
1)Create an integer attribute self.MyTime
2)Constrain self.MyTime to floor(game.time)
3)Display text - self.MyTime
And as others have said you can never type expressions. You must always select them from the list.