So I'm setting a variable to text for a user's set particle. Example, {particle::%player's uuid%} is "Smoke". When parsing this as a visual effect, it won't display at the targeted, or event-block unless done in an effect command.
The main part of the script
on break:
if {particle::%player%} is set:
show ({particle::%player's uuid%} parsed as visual effect) at event-block
I also tried replacing event-block with targeted block, no different.
However, when I run show ({particle::%player's uuid%} parsed as visual effect) at targeted block as an effect command, it runs fine and shows the particle.
Shows the particle at the event-block based on the user's particle variable.
on break:
if {particle::%player%} is set: <-----
show ({particle::%player's uuid%} <------
your two variables are different.
is {particle::%player%} even set?
{particle::%player%} and {particle::%player's uuid%} are two VERY different variables.
Add a debug message to see if that is even set.
on break: if {particle::%player%} is set: <----- show ({particle::%player's uuid%} <------your two variables are different.
is{particle::%player%}even set?
{particle::%player%}and{particle::%player's uuid%}are two VERY different variables.
Add a debug message to see if that is even set.
haha oops, I changed the variable without noticing. I'll check it out later on
No response and looks like a bug in your code. Closing.
Most helpful comment
your two variables are different.
is
{particle::%player%}even set?{particle::%player%}and{particle::%player's uuid%}are two VERY different variables.Add a debug message to see if that is even set.