Dr_Nomz
Member
I'm trying to make an animation work based on it's image_number (amount of frames in the animation) but it doesn't work because it instead starts by referring to the current sprite's image_number, and not the actual animation it plays just after.
How do I write this to refer to a different sprite's image_number?
Code:
canshoot = image_number;