When i use this code:
The last spawned DrawDot won't go away after the fireball hit the ground
[doublepost=1486905808,1486905456][/doublepost]I found the problem isn't skdragon but the problem is that the loop never ends even if the fireball hits the ground an is away
[doublepost=1486905977][/doublepost]So my question is how to check if a fireball still exists?
code_language.skript:
make player shoot a fireball at speed 1
set {_fb} to shot fireball
while {_fb} exists:
{_fb} is on ground:
stopEffect id "test"
stop
drawDot count 2, particle "crit", XYZ 0, 0, 0, center {_fb}, visibleRange 320, pulseDelay 0, keepFor 20 ticks
drawDot count 2, particle "witchspell", XYZ 0, 0, 0, center {_fb}, visibleRange 320, pulseDelay 0, keepFor 20 ticks
drawDot count 2, particle "cloud", XYZ 0, 0, 0, center {_fb}, visibleRange 320, pulseDelay 0, keepFor 20 ticks
drawDot count 2, particle "itemcrack", material diamond sword, XYZ 0, 0, 0, center {_fb}, visibleRange 320, pulseDelay 0, keepFor 20 ticks
wait 1 tick
[doublepost=1486905808,1486905456][/doublepost]I found the problem isn't skdragon but the problem is that the loop never ends even if the fireball hits the ground an is away
[doublepost=1486905977][/doublepost]So my question is how to check if a fireball still exists?