#(aviside) Using the push command, how would I push entities backward after pushing myself into them?
22 messages · Page 1 of 1 (latest)
(aviside) Using the push command, how would I push entities backward after pushing myself into the
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.
(aviside) Using the push command, how would I push entities backward after pushing myself into them
(aviside) Using the push command, how would I push entities backward after pushing myself into them?
if you push yourself onto them, their behind will be your front
also in this case i really think that adjust velocity would be way easier
I haven't adjusted velocity before
When should I adjust the velocity?
In other words, how do I detect when I have pushed myself into an entity?
first, i would recommend a waituntil
!c waituntil
queue
waituntil (rate:<duration>) (max:<duration>) [<comparisons>]
Delays a script until the If comparisons return true.
Delays a script until the If comparisons return true. Refer to !command if for if command syntax information.
Optionally, specify an update rate (if unset, will update at queue speed).
The update rate controls how often the tag will be checked. This generally doesn't need to be set, unless you're concerned about script efficiency.
Never set this to faster than queue update rate.
Optionally specify a maximum duration to wait for (delta time).
then the simpliets way to adjust velocity is just subtracting
so
- adjust <entity> velocity:<player.location.sub[<entity.location]>
you can add .mul .div to that to adjust speed
or swap the ent location and player loc around
mess around a little bit
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@marble python