so i really have no idea how to set up a custom situation for dynamic cam so that it will change camera angle when entering a pet battle. im pretty sure its possible im just not sure how to write it. i found this link with my hours of google searching.
https://wow.gamepedia.com/API_C_PetBattles.IsInBattle