Ok so the script you provided works just as the other did and is much cleaner so thank you for that!
However, when I did a #npcedit setanimation 3 on my feigned mobs I get the message "NPCID 101140 now has the animation set to 3 on spawn with spawngroup 0".
When I type the command Mob 1 falls down but when I spawn another Mob 2 is still standing... Do I need to assign a spawngroup for these mobs for it to work?