WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Dynamic Cam Pet Battle help (https://www.wowinterface.com/forums/showthread.php?t=56679)

joeyo 09-16-18 10:03 PM

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

Seerah 09-17-18 03:08 PM

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.

joeyo 09-18-18 04:08 PM

Quote:

Originally Posted by Seerah (Post 330133)
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.

Ansune 09-19-18 02:10 AM

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.

joeyo 09-28-18 11:21 AM

Def did the trick 😊


All times are GMT -6. The time now is 05:13 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI