round down problem with int.
#1

Let me explain what I'm going to do,

plantTime is the time for do timing of a plant.

plantProgress for displays

plantTime sets a random value since it's created, progress sets as a zero in the beginning.

how to makes it work like if time passes a half of plantTime, and progress would be 50%?
Reply


Messages In This Thread
round down problem with int. - by SetPlayerNameTag - 05.09.2017, 12:46
Re: round down problem with int. - by Meller - 05.09.2017, 12:58
Re: round down problem with int. - by SetPlayerNameTag - 05.09.2017, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)