Question about particles

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

abctmtom

Member
Aug 15, 2017
12
0
0
25
my skript is below but the error is coming with the line spawning particles can anyone help to fix this

on death:
if victim is a zombie pigman:
if name of victim is "&aTormented Soul Husk":
set {_loc} to the location 1 meter above the victim
show 3 "flame" particles at {_loc}
spawn 1 Zombie at {_loc}
set name of last spawned entity to "&aLost Soul"
 
Particles are a little bit broken. I suggest that you use the minecraft particle command instead.

code_language.skript:
on death:
    if victim is a zombie pigman:
        if name of victim is "&aTormented Soul Husk":
            set {_loc} to the location 1 meter above the victim
            set {_x} to x-coordinate of {_loc}
            set {_y} to y-coordinate of {_loc}
            set {_z} to z-coordinate of {_loc}
            execute "/particle flame %{_x}% %{_y}% %{_z}% 0 0 0 0 3"
            spawn 1 Zombie at {_loc}
            set name of last spawned entity to "&aLost Soul"
 
Well, I don't know about skRayFall particles but at least Skript ones work pretty well if you're using the latest version of bensku:
code_language.skript:
show 3 flames on {_loc}
But if you aren't using the bensku's fork, you may want look at skDragon:
code_language.skript:
drawDot count 3, particle flame, center {_loc}, visibleRange 8
#visibleRange is how far the particle is seen, it's set to 8 chunks so, any player that's 8 chunks near the particle center will see it
 
Status
Not open for further replies.