#(aviside) Arrow catch device (advice on push command)
25 messages · Page 1 of 1 (latest)
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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
!vague
Your question is too vague to be able to answer well.
If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.
For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.
See also !xyproblem
How will the device work?
Is it within a radius? When arrows hit it?
Also
!m velocity
Sets the entity's movement velocity vector.
EntityTag
LocationTag
<EntityTag.velocity> Returns the movement velocity of the entity. Note: Does not accurately calcul...
When higher than 0 its moving
The device activates when it recognizes you're hit by a projectile and then finds arrows within a radius to push backwards towards the entity that shot them
so its not always active, it is woken up when you're shot by a projectile
thats a helpful tag ty
My problem is the arrows being deflected backwards don't go towards the entity that shot them
and I believe this is because I didn't specify the "origin:"
but I'm unsure of how to use it correctly with the foreach command. So how do I find the entity that shot the projectile? Because the arrows origin needs to be the entities location, that way it can travel backwards properly
- push <[target]> speed:0.75 origin: destination:<[target].location.backward[10]> duration:1s no_rotate```
@marsh storm
Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.