I'm trying to get an animation to play more than once during a fastloop. Can someone take a look and offer some advice?
anim test file
Mobichan
Printable View
I'm trying to get an animation to play more than once during a fastloop. Can someone take a look and offer some advice?
anim test file
Mobichan
http://star.walagata.com/w/supermetalmario/delev.PNG
the node condition in event 8 isn't needed, since the enemies don't have any path movements
i deleted it and they each shoot 3 times so i'm guessing that's what you want
They do have path movements. They should actually be using them if you run the frame.
argh i forgot about multiple movements
well, try setting the shooting animation to Loop, and in the StreamTotalBullets >= 3 condition, add Change Animation Sequence to Stopped for the enemy
forgetting to loop animations and trying to compare a frame of that animation to a value usually causes this problem
I had tried to loop the animation, but then the enemy gets stuck in an inifinite loop and never continues to the end of the path once the StreamTotalBullets reaches its max value.
Sorry, work kept me from MMF for a couple days... back to the issue:
I tried the solution posted by xyzzy, but that means the loop animation will just keep playing until the total number of bullets is fired.
I am trying to include a timer that acts as an offset for firing the bullets. When the timer reaches 0, then I allow the next bullet fastloop to activate. I posted a similar question a while ago, but it didn't involve the fastloop. The solution without the fastloop was to force the animation to frame 0 and restore the animation everytime a specific frame was reached AND when my timer reached 0. This doesn't seem to work within a fastloop, as the animation never gets reset to 0 and restored.
Can anyone offer an explanation as to why the force frame/restore anim commands aren't working in this situation? I've tried changing event orders to no end and there seems to be no improvment.
Any help is greatly appreciated,
mobichan
I figured out a solution. Thanks for the suggestions.