#Making particle trail a projectile

1 messages · Page 1 of 1 (latest)

timid heath
#

spawn a particle on the projectile while its alive?

#

you need to add a wait in the while loop

#

also you need to indent the 3rd line

#

by adding 1 tab or 4 spaces behind it

#

ah

#

is there a wait on the actual code?

#

add one

#

skript sends too much to the server when there isnt one

#

and it crashes

#

whatever looks the best

#

1 tick, 0.1 seconds etc

sly arch
#

i just use metadata tag for the projectile, then delete it on projectile hit

sly arch
#
  set (event-projectile's metadata tag "showParticles") to true

on projecttile hit:
  if (event-projectile's metadata tag "showParticles") is set:
    delete (event-projectile's metadata tag "showParticles")```
nocturne solar
sly arch
#

And theres no need to ping

#

Ill check in when im able to, but i may be busy

nocturne solar
#

Doesnt understand what

sly arch
#

While that tag is true

#

And yes, that makes it easier for skript

#

While that metadata tag is set show the particles

#

No

latent canyon
#
on shoot:
  while metadatag *:
    do Stuff
sly arch
#

Get rid of the while t thing

#

Remove skrayfall and and skquery, theyre outdated and can break things

#

You only need skbee for this

sly arch
#

No

sly arch
#

Just set the damage

sly arch
blissful pond
#

Just send the code bro 😭

sly arch
sly arch
#

and cant you just check the projectile type like you did earlier?

sly arch
#

use else ifs

#

also, if any: damage cause is fire damage cause is lightning then: cancel event

sly arch
#

pretty self explanatory, it checks all the conditions inside, and if any of them pass, then the then section is run

#

is a %projectileType%

sly arch
#

put "a" before it

sly arch
#

the percents mean you just input stuff

#

you want projectile is a snowball for example

sly arch
#

cause the fireball doesnt damage