The Dink Network

moving problem

December 3rd 2005, 03:50 PM
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
I'm trying to move a diferent sprite than dink and the script is not atatched to the sprite I wan't to move. I thought it would work if I would check the sprite number in this case 19 and then make it move this way move_stop(19, 8, 100, 1); But it doesn't work. Does annyone know if I'm doing something wrong or if I should do something else?
December 3rd 2005, 03:55 PM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
You should do it indirectly:

int &crap = sp(19);
move_stop(&crap, 8, 100, 1);
December 3rd 2005, 04:20 PM
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
For some reason it doesn't work. There must be something else I'm doing wrong.
December 3rd 2005, 04:35 PM
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
I fixed it I proberdly forgot the & or someting or something else but it works now.