So I need to euip my police force with special arrows for incapacitating suspects. Does anyone know if and/or how I can add custom effects to arrows with a command. For example, can I give myself a stack of arrows with Slowness III or IV with a duration of 10 minutes? Thank you for reading. Plz reply if you know of a way to do this, or let me know if I'm wasting my time trying to do something that can't be done.
The only part I could see having issue is sometimes it wont register the effect quick enough for when the arrow is by the person. Also I think arrows disappear after they hit players which could make actually getting the arrow to apply the effect to the user rather difficult.
So I need to euip my police force with special arrows for incapacitating suspects. Does anyone know if and/or how I can add custom effects to arrows with a command. For example, can I give myself a stack of arrows with Slowness III or IV with a duration of 10 minutes? Thank you for reading. Plz reply if you know of a way to do this, or let me know if I'm wasting my time trying to do something that can't be done.
Should be along the lines of this
/execute @e[type=arrow,r=1] ~~~ effect @e[type=arrow] slow
Tried it and I get "No targets matched selector"
Sorry >< try doing this...
Instead of:
/execute @e[type=arrow,r=1] ~~~ effect @e[type=arrow] slow
Do this:
/execute @e[type=arrow,r=1] ~~~ effect @e[type=player] slow
My bad again!
Thanks, I'll try it.
Let me know, that should do it.
The only part I could see having issue is sometimes it wont register the effect quick enough for when the arrow is by the person. Also I think arrows disappear after they hit players which could make actually getting the arrow to apply the effect to the user rather difficult.