Wtf is append object? Just put multiple animations in the same object as one animation... Then just loop through the correct frames for each animation.
For example:
an object has 100 frames, 0-49 walking and 50-100 attacking.
+ Code Snippetif AnimState=1 then loop object 1, 0, 49
if AnimState=2 then loop object 1, 50, 100