#Math and Events

43 messages · Page 1 of 1 (latest)

pure echo
#

I need help so when there’s a 5 second countdown and i think i did it wrong and how do you turn a event reciver on at using a exec?

scarlet pike
#

Maybe chuck your question through Grammarly and then ask again 😅

low knoll
#

I understand Giberglish

#

So for that first question

#

You need an delay, int variable, a subtract chip, less or equal, and if

#

Input the delay for 1 second

#

Connect the output of the int variable to the input of the subtract chip and connect the input of the int variable to the output of the subtract chip

#

And put the bottom input as 1

#

Then run the delay

#

And put the after delay to the input execution of the int variable

#

Wire the “less or equal” to the output of the int variable

#

And leave it there because it’s automatically set to 0

#

Wire your if chip to the Boolean output of the less or equal

#

Wire the output execution of true int variable to the if chip

#

The “then” output will signify when the timer is done. The “else” output will signify the timer still running

#

Wire the “then” output of the if chip to “cancel” on the delay

#

Then use the “cancel” output of the delay as a “timer done” output

#

Now for that second question

#

You need a event definition

#

Name your event definition anything

#

For this example it will be called “1one”

#

Get an event sender and an event receiver

#

Configure both of them to the event “1one”

#

And then send an execution to the event sender

#

There you go! Hope this helped : D

#

Oh I almost forgot

#

Clone the int variable next to the delay

#

And wire the output of the cloned int variable to “run” on the delay

#

And set it to any number you like

#

If I set it as 60

#

Then it will count down to 60 seconds

pure echo
#

I said this so wrong

pure echo
scarlet pike
low knoll
pure echo
pure echo
low knoll
#

Ok

#

What time

pure echo
#

8 minutes

pure echo
low knoll
#

At 12:50?