This is probably a really stupid question, but for the life of me, I cannot figure it out, which annoys me beyond belief considering some of the other things I have worked out on my own.
But basically I am trying to create a microwave or oven interface, where the player can use a digital pad to set the timer…
So if the player hits 5, 4, 3, 2, 1, 2, 4, 2, the timer should show (in sequence):
00:05
00:54
05:43
54:32
(This is where numbers start being overridden)
54:31
54:12
51:24
12:42
The next thing is, when the player adds something that is more than 60, so they might do something like 5, 4, 3, 2, 6, 5.
00:05
00:54
05:43
54:32
(This is where numbers start being overridden)
54:36
(This is where we technically add 1:05 (65sec))
55:05
I just don’t really know why I can’t work all of this out, it seems so simple and straight forward, but my brain just for some reason cannot figure out what blueprint nodes to use to solve this, and what variables I would need.
I have tried to use string and int arrays, I have tried to use timespans (not really ideal though for inputting a number manually), I just can’t work it out and it’s depressing me now. I can figure out some advanced trigonometry and in game guiding systems, I can figure out some really crazy stuff, but I can’t figure out how to make a microwave timer -_-…so sad haha
Does anybody have any ideas or magical blueprint nodes that I don’t know about?
UPDATE:
And moments later, I go and test the microwave again (the real one) to see how it functions…and…it doesn’t function how I thought it did in the first place.
In the first example, the microwave just shifts the array numbers to the left.
So it does this
00:05
00:54
05:43
54:32
43:21
32:12
21:24
12:42
And if I do add anything more than 60 seconds…well, it doesn’t do what I thought, if I input 9,5,9,9, the output is.
00:09
00:95
09:59
95:99
And if I start the microwave…it starts counting down on the right side from 99 down to 0, before going to 94:59.
So maybe I shouldn’t be losing my mind over this haha