01-07-2017, 04:33 AM
Kinda busy right now. HOWEVER, there are two issues on your edits which I do not recommend.
The first edit is where you add the update_idle_anim_chantanim to the end of the update_idle_anim_delay method. When update_idle_anim_chantanim runs, it goes through several statements until it runs the update_idle_anim_delay. But the update_idle_anim_delay needs to be the last thing run within the chant animation itself in the animations system. But by your edit, it re-runs the update_idle_anim_chantanim system again which will run over... and over. That's referred to as an infinite loop. Not recommended at all.
As to your other edit, you put update_idle_anim_chantanim at the end of the update_idle_anim_waiting? method. Initially, the update_idle_anim_chantanim method checks the anim_waiting? method to see if there is a delay, and then skip out. It appears to me that you wanted it to re-run the method after the check which is certainly NOT desirable. ............ It won't work. Thankfully, you put the edit after the 'return' statement that not only passes a true/false value, but exits the method BEFORE it gets to your edit. If it didn't exit, you would end up with another infinite loop. Again, not recommended at all.
The first edit is where you add the update_idle_anim_chantanim to the end of the update_idle_anim_delay method. When update_idle_anim_chantanim runs, it goes through several statements until it runs the update_idle_anim_delay. But the update_idle_anim_delay needs to be the last thing run within the chant animation itself in the animations system. But by your edit, it re-runs the update_idle_anim_chantanim system again which will run over... and over. That's referred to as an infinite loop. Not recommended at all.
As to your other edit, you put update_idle_anim_chantanim at the end of the update_idle_anim_waiting? method. Initially, the update_idle_anim_chantanim method checks the anim_waiting? method to see if there is a delay, and then skip out. It appears to me that you wanted it to re-run the method after the check which is certainly NOT desirable. ............ It won't work. Thankfully, you put the edit after the 'return' statement that not only passes a true/false value, but exits the method BEFORE it gets to your edit. If it didn't exit, you would end up with another infinite loop. Again, not recommended at all.