ID:155753
 
Is there an easy way to attach the client.eye to an obj which uses pixel based movements?

[EDIT]
I figured out my chunky problem which was to move the .loc call after my pixel offset updates. However, if anyone has a suggestion on the best way to set the client.eye, I'd be interested to learn more about it.

ts
Man...I think I've seen this done in...maybe Teridal? If not, I could be very wrong.
Tsfreaks wrote:
Is there an easy way to attach the client.eye to an obj which uses pixel based movements?

Change client.pixel_x/pixel_y when the object's pixel_x/y changes.
In response to Calus CoRPS
That's what I do now. I assign the client to a var in the obj and when the obj moves, it updates the client.

I was having trouble with this at first (chunky movement) and started thinking there must be an easier/better way.

You have to update the .loc of the mob as well.

ts