#(nicochulo2) Add particles to shot entity

16 messages · Page 1 of 1 (latest)

frosty vapor
#

So, I'm coding an item that'll shoot items into the air (as entities, so dropped_items) and I was wondering if there is some simple way to add particles to them. So, if I have a simple shoot command like

- shoot <entity[dropped_item].with[item=diamond]> origin:<player> shooter:<player> speed:1

I was wondering how I'd go about adding particles to that dropped item during its travel time

brisk knotBOT
#

(nicochulo2) Add particles to shot entity

brisk knotBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

frosty vapor
#

checking the Shoot command syntax there's a possibility to add a script for when the entity lands but nowhere do I see any option for its travel time

sacred dragon
#

ie

- shoot ent script:proj_script
- while ent has no landed flag:
  - play particles

proj_script:
- flag shot entity with landed flag```
#

!c while

crude willowBOT
# sacred dragon !c while
Group

queue

Syntax

while [stop/next/[<value>] (!)(<operator> <value>) (&&/|| ...)] [<commands>]

Short Description

Runs a series of braced commands until the tag returns false.

Description

Runs a series of braced commands until the if comparisons returns false. Refer to !command if for if command syntax information.
To end a while loop, use the 'stop' argument.
To jump to the next entry in the loop, use the 'next' argument.

sacred dragon
#

for syntax ^

#

(You can also switch this around and flag your entity when shot & remove the flag on landing, doesn't really matter, whatever you prefer)

frosty vapor
#

let me see

frosty vapor
#

quite odd

#

the landing script runs as soon as the entity is launched instead XD

#

so honestly I just want to give up on it, I think I'll just close it

#

thx for the assistance anyways, though, @sacred dragon