I am trying to make my idle view animted. I used the following code:
cEgo.SetIdleView(2, 0);
In the view itself it works perfectly when I click on "Animate", but when I run the game, the idle view is stuck on the first frame.
Did you, by any chance, put this code in repeatedly_execute()? Don't do that: it means that every game loop it starts the animation again, so it never goes beyond the first frame.
Instead, put it in a function that gets called once when you want the idle view to be activated. For example on game start, or after the character has entered a certain room, or whatever is most appropriate.
Thank you! Works like a charm on game_start :D