Skript: issue showing particles

Created on 11 May 2019  路  3Comments  路  Source: SkriptLang/Skript

Description

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.

Steps to Reproduce

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.

Expected Behavior

Shows the particle at the event-block based on the user's particle variable.

Server Information

  • Server version/platform: git-Spigot-f09662d-51d62de (API 1.13.2-R0.1-SNAPSHOT)
  • Skript version: latest

Most helpful comment

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.

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Misio12320 picture Misio12320  路  3Comments

wohahobg picture wohahobg  路  3Comments

ghost picture ghost  路  3Comments

GiraffeCubed picture GiraffeCubed  路  3Comments

FUZIK picture FUZIK  路  4Comments