strange thing! (animpos problem)
 Posted: Sat Apr 09, 2011 8:03 pm
Posted: Sat Apr 09, 2011 8:03 pmhi fellas!
so i have this actor on screen with 50 animation frames, starting at zero, stopped, called
"energyTopLeft" and in Create Actor Event i have:
Fine. Now, in a function i do this:
which works somehow!
The sound (from my other function) is played.
BUT: the animpos won´t change at all, it stays at zero.
So my question is: What am i doing wrong here? Or is this a bug?
Thanks for any help or ideas
			so i have this actor on screen with 50 animation frames, starting at zero, stopped, called
"energyTopLeft" and in Create Actor Event i have:
- Code: Select all
- ChangeAnimationDirection("Event Actor", STOPPED);
 animpos=0;
Fine. Now, in a function i do this:
- Code: Select all
- switch(collide.whichOne)
 {
 case 0: playSound(1); energyTopLeft.animpos++; break;
 }
which works somehow!
The sound (from my other function) is played.
BUT: the animpos won´t change at all, it stays at zero.
So my question is: What am i doing wrong here? Or is this a bug?
Thanks for any help or ideas

 i have to add a comment with the actor´s name i wanna modify?
 i have to add a comment with the actor´s name i wanna modify?