Thread Tools Display Modes
04-25-10, 07:01 AM   #1
Aalwein
A Flamescale Wyrmkin
 
Aalwein's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 147
Adding pet happiness alert to MSBT

Is there a way to add a trigger to alert me when my pet is not "happy?" I've looked around in the various triggers and I didn't see one that I could create.
  Reply With Quote
04-25-10, 08:43 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
I think msbt triggers on buffs and debuffs which I don't believe happiness is, even for hunter pets.

Yep, looked at wowwiki and when the pet event "UNIT_HAPPINESS" is triggered all blizzard does is display a different texture and let you know what its new attack bonus percentage is.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
04-26-10, 02:08 AM   #3
Aalwein
A Flamescale Wyrmkin
 
Aalwein's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 147
How hard would it be to add a trigger for PET_HAPPINESS? I'm pretty good at "coding by example" by I'm totally lost when it comes to LUA. Looking at the code in Cork for pet happiness alerts and comparing it to existing triggers in MSBT has me no closer to figuring it out. If I was pointed to the right lines of code to mimic, I could figure out a solution.
  Reply With Quote
04-26-10, 03:20 AM   #4
ricks322
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Jun 2009
Posts: 154
Originally Posted by Aalwein View Post
How hard would it be to add a trigger for PET_HAPPINESS? I'm pretty good at "coding by example" by I'm totally lost when it comes to LUA. Looking at the code in Cork for pet happiness alerts and comparing it to existing triggers in MSBT has me no closer to figuring it out. If I was pointed to the right lines of code to mimic, I could figure out a solution.
Just go get Feed-O-Matic it will solve all your problems.
  Reply With Quote
04-26-10, 05:15 AM   #5
Aalwein
A Flamescale Wyrmkin
 
Aalwein's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 147
Originally Posted by ricks322 View Post
Just go get Feed-O-Matic it will solve all your problems.
Yeah I'm using that currently... was trying to trim down the addons. Was using another addon to alert me when my mana was full and I still had viper up, but I just made an alert in MSBT and cut out an addon.
  Reply With Quote
04-26-10, 04:15 PM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Well had a look at the source code for msbt and I think your best bet is to post a request to add Pet Happiness Event settings to the code as at present it can't be added through the addon but is all hard coded.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Adding pet happiness alert to MSBT


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