Does anyone know how (or if) you can use lists to make one sprite exactly follow another?
I know lists can be used to copy what one sprite already did but can they be used to make one sprite follow just behind another without taking short-cuts like this:
when key [space v] pressed forever point towards [sprite1 v] move (1) steps endPlease help!
Offline
script for sprite1 (leader)
when gf clicked delete (all v) of [x list v] delete (all v) of [y list v] repeat (5) add (0 v) to [x list v] add (0 v) to [y list v] end go to x:(0) y:(0) forever add (x position) to [x list v] add (y position) to [y list v] delete (1 v) of [x list v] delete (1 v) of [y list v]script for sprite 2 (follower)
when gf clicked forever go to x:(item (1 v) of [x list v]) y:(item (1 v) of [y list v])
Offline