#counter scoreboard

1 messages · Page 1 of 1 (latest)

ashen crag
#

If that function is running every tick, adding the objectives again will reset them iirc. Instead, add them once on worldgen

#

Though what exactly are you trying to accomplish with this, and what particularly isn't working?

#

as I also notice that there's no way within the function to increase any of the scoreboards if they're 0

coral solar
ashen crag
#

Ok, can you send the animation controller file? I can't check or put rn, but I will be able to either later today or tomorrow

coral solar
ashen crag
#

I mean the animation controller you have running the function. Also, please send the text

#

?screenshots

hard galeBOT
#
Please, no screenshots or photos!

Screenshots are hard to read, and photos even more so. This is especially true if you are using bridge or another tree editor, as this format obscures the JSON format.

We can help you best if you copy and paste your code here, or send it directly as a file.

coral solar
#

{
"format_version":"1.19.50",
"animation_controllers":{

"controller.animation.walk":{
"states":{
"default":{
"transitions":[
{
"walk":"(1.0)"
}
],
"on_entry":[
"/function flow",

"/execute as @s[tag=nagi_flow] run particle nc:nagi_flow ^^^",

"/execute as @s[tag=barou_flow] run particle nc:barou_flow ^^^"

           ]
        },
        "walk":{
           "transitions":[
              {
                 "default":"(1.0)"
              }
           ],
           "on_entry":[
              "/function flow",

"/execute as @s[tag=nagi_flow] run particle nc:nagi_flow ^^^",

"/execute as @s[tag=barou_flow] run particle nc:barou_flow ^^^"
]
}
}
}
}
}

coral solar
ashen crag
#

The ac seems fine. What exactly are you trying to do with the function? Also, have you tried adding something like say hi to make sure the function's being run? It might be an issue with your player.json, or it might just be that the function is running, but it just isn't written to do what you want it to

coral solar
#

After 20 seconds the tag will be removed

ashen crag
#

Gotcha. If you're modifying player.json, then it might be better to use the minecraft:timer component in a component group that gets added when you have the tag Ativar flow

#

If you want to use commands, create the dummy scoreboards on worldgen rather than in the function. Then, remove the scores={tempo=1..} and replace it with tag="Avitar flow"

gusty oxide
ashen crag
#

Alr, NM then. Good to know

gusty oxide