Yes, I got it now.
You need to add animation tags to the names of the animations... like Stand Gold, Stand Lumber, Attack Gold, Attack Lumber, Death Gold, Death Lumber, etc. When you need to play some of this animations, add the animation tag to the unit trough trigger. This make instantly the unit use the animations that contain the tag.