Reply to I swear something in the 1.08 patch is broken
If you don't have an account, just leave the password field blank.
So... This is a kinda serious bug, I've posted about it moooonths ago, but now it's really starting to get on my nerves and I was hoping someone knew a workaround for it.
Suppose you have a loop in your main procedure for a sprite. Now, let that sprite have a hit or talk procedure as well. When Dink talks or punches the sprite, the main procedure abrubtly ends ANYTHING it was doing and won't return to it. A good example of why this is a huge problem is the enemy missile script or even the original dragons in Dink! These scripts work by constantly calling procedures in a loop, at random times, to fire missiles at Dink or activate magic attacks. But, just try it, once you hit them or talk to them (and a hit/talk procedure exists) the whole script will cease to function. Insanely annoying.
So anyway, the thing I want to do is have a sprite walk from left to right and back again constantly and when you talk to it, it says something (normal say command). So in the main procedure I have a very simple move_stop() loop. But, as I explained, it will instanly stop when I talk to the sprite.
Hope anyone has a way to make this work without using a seperate script to control the movement from the sprite. Actually, I really really need this whole mess sorted out for boss and complicated enemy scripts anyway.
Suppose you have a loop in your main procedure for a sprite. Now, let that sprite have a hit or talk procedure as well. When Dink talks or punches the sprite, the main procedure abrubtly ends ANYTHING it was doing and won't return to it. A good example of why this is a huge problem is the enemy missile script or even the original dragons in Dink! These scripts work by constantly calling procedures in a loop, at random times, to fire missiles at Dink or activate magic attacks. But, just try it, once you hit them or talk to them (and a hit/talk procedure exists) the whole script will cease to function. Insanely annoying.
So anyway, the thing I want to do is have a sprite walk from left to right and back again constantly and when you talk to it, it says something (normal say command). So in the main procedure I have a very simple move_stop() loop. But, as I explained, it will instanly stop when I talk to the sprite.
Hope anyone has a way to make this work without using a seperate script to control the movement from the sprite. Actually, I really really need this whole mess sorted out for boss and complicated enemy scripts anyway.