PlayObjectAnimation(ObjectName, animName, action), where
ObjectName is the name of the monster, animName is the desired animation, and action specifies the repetition (play once, repeat cyclically, etc.). Constants and further explanations can be found in the manual (Game folder/Editor Documentation/HOMM5_A2_Script_Functions), page 38.
Sincerely,
Auto-translated