[code]
int idlewait, cc=1, idleviews=3;//the number of idleviews can be adjusted
// in the repeatedly execute:
idlewait++;
if (idlewait == cc*5*40)
{
Character.SetIdleView(5+cc, 1); //assuming the idle views are 6,7,8,9 ecc..
cc++;
if (cc>idleviews)
{
cc=1;
idlewait=0;
}
}
[/code]