So I am trying to make a particle go from the arrow to the player, but the particle doesn't appear and I get this error message:
User 'projectile' and/or 'shooter' in projectile hit events {CreateWand.sk, line 36:}
My code is:
on rightclick holding stick:
set {wanduser} to player
set {_cd} to difference between {shoot-arrow.%uuid of player%} and now
if {_cd} is less than 0.2 seconds:
stop
set {shoot-arrow.%uuid of player%} to now
shoot arrow from player at speed 20
on projectile hit:
set {_locationtarget} to the location 1 in front of the projectile
Line 36: drawLine particle redstone, RGB 0, 1, 1, center {wanduser}, target {_locationtarget}, id "%player%", rainbowMode true, solid false, density 20, length 0, zigZag count 0, height 0, visibleRange 32, displacementXYZ 0, 1.2, 0, pulseDelay 1
delete projectile
My plugins are:
Skript, skdragon, skquery, skvault
Also, if there is anything else wrong you see in my code, please point it out! Thanks!
User 'projectile' and/or 'shooter' in projectile hit events {CreateWand.sk, line 36:}
My code is:
on rightclick holding stick:
set {wanduser} to player
set {_cd} to difference between {shoot-arrow.%uuid of player%} and now
if {_cd} is less than 0.2 seconds:
stop
set {shoot-arrow.%uuid of player%} to now
shoot arrow from player at speed 20
on projectile hit:
set {_locationtarget} to the location 1 in front of the projectile
Line 36: drawLine particle redstone, RGB 0, 1, 1, center {wanduser}, target {_locationtarget}, id "%player%", rainbowMode true, solid false, density 20, length 0, zigZag count 0, height 0, visibleRange 32, displacementXYZ 0, 1.2, 0, pulseDelay 1
delete projectile
My plugins are:
Skript, skdragon, skquery, skvault
Also, if there is anything else wrong you see in my code, please point it out! Thanks!