Enemies fighting each other?

Hi there, I'm just starting a new game and I was wondering if anyone knows if there is a way to make enemies attack each other.

Example, a rat and a spider are in the same troop, when the rat reaches  maybe about 20%hp the spider uses a devour attack which makes it eat the rat, regain hp and become stronger. I've tried the force action root in the enemy troop page of the database, but I can only seem to make the spider attack the player, is there a way around this?
Create a skill that has the action you want, give the skill to the spider, then in the spider attack patterns set the skill's condition to 20%HP and give it a rating of 10.

Original thread: https://forums.rpgmakerweb.com/threads/enemies-fighting-each-other.37566/