Hello! I am making an RPG game with an Autosave function. I wanted the player to be able to set the interval of time beetween Autosaves with a scrollbar, and for that i needed to make a text that says the ammount of time the player has set. I figured out how to make most of it, but i can't seem to put my head on how to round the "Ammount of seconds divided by 60" (Because there are 60 seconds per minute) so it keeps using decimals that destroy the entire concept of a time displaying <Minutes>:<Seconds>. Can you guys help out?
#How to make a number automatically round itself with scripts in 3x?
1 messages · Page 1 of 1 (latest)
attribute in the attribute
(number).attribute.round
to remove decimals