I am tying to get a straight line off particles between to locations. but i can't find anything to get this to work.
As far i know the drawline will just create a straight line without any delay so i can't use the drawline effect, the drawarc effect also doesn't have a delay option or something like this
So it has to be something like this(This is not made using a skript but using another plugin):
I tried looping the blocks between the player and the target block and than creating a drawdot effect at each loop-block but this wouldn't create 1 straight line.
Code i used:
I also tried shooting an arrow and snowball to be able to let the drawdot effect the shot snowball/arrow but its pretty difficult to keep an arrow or snowball to go in a straight line.
Any help or tips will be appreciated <3
Maybe @Sashie can help
As far i know the drawline will just create a straight line without any delay so i can't use the drawline effect, the drawarc effect also doesn't have a delay option or something like this
So it has to be something like this(This is not made using a skript but using another plugin):
I tried looping the blocks between the player and the target block and than creating a drawdot effect at each loop-block but this wouldn't create 1 straight line.
Code i used:
code_language.skript:
loop blocks from the block at the player to the target block:
DrawDot count 10, particle "smokelarge", XYZ 0, 0, 0, center location of loop-block, visibleRange 320, pulseDelay 0, keepFor 1 second
DrawDot count 2, particle "smoke", XYZ 1, 1, 1, center location of loop-block, visibleRange 320, pulseDelay 0, keepFor 1 second
Any help or tips will be appreciated <3
Maybe @Sashie can help