Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue showing particles #2052

Closed
MrScopes opened this issue May 11, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@MrScopes
Copy link
Contributor

commented May 11, 2019

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
@ShaneBeee

This comment has been minimized.

Copy link
Contributor

commented May 12, 2019

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.

@MrScopes

This comment has been minimized.

Copy link
Contributor Author

commented May 14, 2019

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

@TheBentoBox

This comment has been minimized.

Copy link
Member

commented May 20, 2019

No response and looks like a bug in your code. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.