A runs and B gets dragged by A

formatting
general
coding

#1

Coding question:
How would you code-write to make it look like character B is getting dragged by character A while A is running to x-spot?

It’s been a while and I just can’t. Send help.


#2

You can do like this

@CHARACTER1 walks to x-spot AND CHARACTER2 walk to x-spot AND CHARACTER2 faces left/right AND CHARACTER2 starts (put animation here)


#3

Thank you @Davidcrvz!
It kind of worked but that A being dragged happens faster than B getting even closer…
I guess I have to try with timer (??


#4

To be more specific you can try something like this

@CHARACTER1 walks to spot 1.280 -100 0 in 2 AND CHARACTER1 starts run_athletic AND CHARACTER2 walks to spot 1.280 -100 0 in 2 AND CHARACTER2 faces left AND CHARACTER2 starts talk_neutral_deny


#5

Haha okay that is specific. Thank you so much!

@Jeremy @Ryan


#6

Did it work?


#7

I just tested. Nope, same problem with timer…


#8

Can you post a picture of something of how it looks like?


#9

I don’t really know how to do that, plus I don’t think a picture will help.
The coding is good, the only problem is that somehow B starts getting dragged before A gets close enough…
I don’t undersand. :sob:


#10

You can time it like

@CHARACTER1 walks to x-spot in 2 AND CHARACTER2 walk to x-spot in 3 AND CHARACTER2 faces left/right AND CHARACTER2 starts (put animation here)


#11

Omg, this was so annoying… but it finally worked!
Thank very very much for your help and patience, @Davidcrvz!

It worked! :sparkles: @Jeremy


#12