CAS importing

This is a script for the ROME Total War game. When importing an animation, it removes all the keys and makes the first animation frame "0". How to disable the removal of the old animation and write a new one with the chosen (current) frame?. Thanks in advance!

cas_ie_b79.ms43.07 KB