Quantcast Dynamic Cam Pet Battle help - WoWInterface
Thread Tools Display Modes
09-16-18, 10:03 PM   #1
joeyo
An Aku'mai Servant
Join Date: Jan 2012
Posts: 31
Dynamic Cam Pet Battle help

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
  Reply With Quote
09-17-18, 03:08 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,557
You want to react to the event that happens when you start a pet battle.

Type "/eventtrace" or "/etrace" and then start a pet battle.

"/eventtrace stop" will stop collecting events so that you can look through them.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-18-18, 04:08 PM   #3
joeyo
An Aku'mai Servant
Join Date: Jan 2012
Posts: 31
Originally Posted by Seerah View Post
You want to react to the event that happens when you start a pet battle.

Type "/eventtrace" or "/etrace" and then start a pet battle.

"/eventtrace stop" will stop collecting events so that you can look through them.
yes but i have no idea how to write it into the custom area so that i can get it to do what i want it to do.
  Reply With Quote
09-19-18, 02:10 AM   #4
Ansune
A Kobold Labourer
Join Date: Sep 2018
Posts: 1
I had the same question and stumbled upon this thread, I was able to get Dynamic Cam working for Pet Battles via the following:

1. Type /dynamiccam (Ensure Advanced Mode is checked on the right)
2. Click Situations (on left)
3. Click New Custom Situation (Advanced) (on right)
4. Enter Pet Battles (or whatever you want to name it) and click Okay
5. Under Selected Situation (Custom: Pet Battles) scroll down to "Events" and type PET_BATTLE_OPENING_START, PET_BATTLE_CLOSE and click Okay to the right of it.
6. Set Priority to 1001 and click Okay to the right of it.
7. Under condition type return (PetBattleFrame:IsShown())
8. Adjust whatever other settings you wish and click Okay at the bottom right.

I don't know if this is the most efficient way to handle it or if it conflicts with other Situations, but it worked for me for adjusting the Dynamic Pitch and initial zoom level which is what I wanted.
  Reply With Quote
09-28-18, 11:21 AM   #5
joeyo
An Aku'mai Servant
Join Date: Jan 2012
Posts: 31
Def did the trick 😊
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Dynamic Cam Pet Battle help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off