Greetings everyone! WSG here with a not so mini mini-guide on how to make the text device into a timer connected with a counter. I searched up if there were any other guides on this and I wasn’t able to find any or they were imageless. 3rd guide now! This contains block code Alright, without wasting any “time” let’s text to it.
To begin with, you need these 4 devices.
Devices
x1 Property
x1 Text device
Text Device Image
x2 Trigger
Trigger Device Image
After you grab those devices, get the property and give it a name. I used “Puzzle”, but you can name it anything you want. Then configure the settings to look like this.
Property
I have the starting value as 180 because I was making a countdown timer. If you want it to countdown you’ll be following my steps. If you want it to count up, then I’ll show you later on what you have to do differently. You would need to set the default value of the property as 0.
Next, we will make the trigger loop. We need a trigger loop to decrement the number every second or increment it every second so that it works like a timer.
Trigger Loop
A trigger loop isn’t all that difficult to make. Grab the two trigger you have down and configure them to look like this. Remember that they have different settings from each other.
First trigger:
Now, the channel it activates on doesn’t have to be the same as mine. I had it activate on a random generator channel. If you wanted, you could have used a button, lifecycle device, knockout manager, etc. Basically anything that would transmit a channel. The loop channel could be just “-loop” unlike how I named it.
Second trigger:
Now, this trigger creates the loop of the channels you wanted. Remember that the delay has to be 1 or higher to prevent the number from going extremely high or extremely low.
Almost done! Grab that text device sitting there so very lonely by itself. You won’t need to change any of the devices settings for it, but instead you will go to the block settings. Content past this point can be sensitive to some readers, viewer discretion will be advised
Block Code
Of course the block needs to be activated somehow, right? Have it activate on the trigger loop channel you made, like so:
Now, go inside the block and have it look like this for the block code arrangement:
Explaining in detail
Get the “set property value” piece from the Essentials section. In the Set Property place, get the “get property” piece and attach the Puzzle property or whatever you named it property and attach it to the “get property” piece. Attach all that to the Set Property area. Now, in the Value place, you will need to get a “#+#” piece from the Math section and make it a subtraction sign. Grab another “get property” piece and attach the property you made to it. Attach that to the blank space in the “#+#” piece right before the subtraction sign. From the Math section again, grab the number piece that is at the top of the Math section. Input the number 1 and attach that to the last blank spot in the “#+#” piece right after the subtraction sign. You want the text device to show the numbers and not say “Text Here”. Get the “set text” piece and attach that to the bottom of the “set property value” piece. Attach a “create text with” piece from the Text section. The little settings icon allows you to change the amount of attachments you can teach to the “create text with” piece. At the end of that piece attach the “get property” piece and attach the property you made to it.
And there you have it, a not so mini mini-guide on how to create a text shown timer. This way people don’t have to use a counter that looks a bit ugly to show the timer. Hope this helped you out and you enjoyed the guide! Feel free to give feedback, it helps me improve!
- 1/5
- 2/5
- 3/5
- 4/5
- 5/5
- 1/10
- 2/10
- 3/10
- 4/10
- 5/10
- 6/10
- 7/10
- 8/10
- 9/10
- 10/10
- 11/10