Ok no one is even writing on this lolz
![]()
Ok please anyone say something
This tutorial is about a basic countdown timer where it has an un-toggled button and it auto Resets plus an extra noob security since i cant add the diagram or picture ill just use words please someone reply and tell me how to add them
1. Make a Subtract gate (Arithmetic) and a Constant value you decide i like having 5 minutes (300).
2. Make a Timer now and the expression it's below.
3. Finally a Button for the start and the Input for the Minge security (Input as to be toggled 1 on 0 off and the button untoggled 1 on 0 off.
4. Wire the subtract A to the Constant value and B to the Timer.
5. Wire Timer Run of the Timer to the Start of the expression and Reset of the Timer to the Reset of the Expression
6. The Button of the Expression to your Button and the Input of the Expression to your Input
Happy day your done so also if you change the value you want it to countdown then you also need to change the Expression's line 1 and line 2 to match that value so it works properly
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>
N@CountDownTimer
I@Button Input
O@Start Reset Timer Seconds Minutes
interval(1000)
Button == 1 -> Start = 1;
Start == 1 -> Timer += 1;
Start == 0 -> Timer += 0;
Timer >= 300 -> Timer = 0, Start = 0;
Input == 1 -> Start = 0, Timer= 0;
Input == 0 -> Start = Start, Timer = Timer;
Timo = (floor(300 - Timer))
Seconds = (floor(Timo%60))
Minutes = (floor(Timo/60))
</div>
interval is bad though no timers just this if you press button again it skips 3 secs but still only one expression =)
ask me if you want to know better how to wire it
Ok no one is even writing on this lolz
![]()
Ok please anyone say something
Yes it's rather noob. Also, you don't need no timers, or any other gates for that matter - You can do all this in a single expression gate.
Grammar is the difference between "helping your uncle, Jack, off his horse" and "helping your uncle jack off his horse".
I know but if your a noob in the game its better to start of somewhere (im not a noob) like when i started i though gates where supposed to be able to have values (yes lolz) i reinstalled it and then watched orbs
im just not into the Interval i like timers unless im making something i need it for
Mind posting that Expression Gate? I'm still kind of inexperienced and such a gate would be really usefull to me.Yes it's rather noob. Also, you don't need no timers, or any other gates for that matter - You can do all this in a single expression gate.[/b]
i did its on bottom not in codebox though let me fix that
I would also like to see the expression gate version of this.Sure give me 5 mins[/b]
Bookmarks