#How to make a timer
1 messages · Page 1 of 1 (latest)
scoreboard players add exampletimer timer 1
execute if score exampletimer timer matches 100.. run function blahblahblah
execute if score exampletimer timer matches 100.. run scoreboard players set exampletimer timer 0
that last one could be put in the function that you want it to do
to be more optimized
K
K
Except I can't even use command blocks,so alot of that is gonna be really tough
It doesn't need command blocks though. You can just use functions
I see
functions are just like if you had a bunch of chain command blocks in a line, running one by one from top to bottom
you can do (pretty much) everything you can do with command blocks in functions except for comparators
Is it possible to do a tick command with a function only,no command blocks( I use addon maker)
if you add a file called tick.json in your BP/functions directory, yeah
{
"values": [ "name_of_function" ]
}
and you can add more than one like this:
{
"values": [ "name_of_function", "other_function", "whoo" ]
}
I don't think the addon maker lets you put functions in a tick.json
that's why I swapped to bridge
Hmm