#(aviside) Using the push command, how would I push entities backward after pushing myself into them?

22 messages · Page 1 of 1 (latest)

marble python
#

I have an item that lets me dash, as one of its abilities I want entities you come into trajectory with to be pushed backward. How would I do that? I'm specifically having trouble with the tags needed to grab the locations. And when the script would run

limpid sluiceBOT
#

(aviside) Using the push command, how would I push entities backward after pushing myself into the

limpid sluiceBOT
#

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.

marble python
#

(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?

pallid marten
#

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

marble python
#

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?

hasty ravine
#

!c waituntil

cursive karmaBOT
# hasty ravine !c waituntil
Group

queue

Syntax

waituntil (rate:<duration>) (max:<duration>) [<comparisons>]

Short Description

Delays a script until the If comparisons return true.

Description

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).

hasty ravine
#

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

naive vectorBOT
#
Thread Closing Reminder

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