WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Graguk at 6/22/2005 6:14:55 PM PDT
Subject: Slouken: SetDesaturation?
   I'm trying to work out how to detect if the Pet Action Frame is "grey" indicating that pet spells cannot be used.

I've had a look at PetActionBarFrame.lua (hosted here: http://www.rps.net/~mojo/wow/mods/Interface/FrameXML.ORG/PetActionBarFrame.lua) and I notice that in the PetActionBar_Update, if GetPetActionsUsable() returns false, then SetDesaturation is set to 1 on an Icon..

Are these the droids I'm looking for? :)

EDIT: ie if SetDesaturation is what makes a pet icon grey, then GetPetActionsUsable() is all I need to use?

[ post edited by Graguk ]


http://wowrankings.com/viewb.htm?name=Graguk&s_id=71
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=166408&p=#post166408
 
Poster: slouken at 6/22/2005 6:22:30 PM PDT
Subject: Re: Slouken: SetDesaturation?
   Yep. Note that it only checks that in response to a few events, so you only need to check in response to those events.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=166408&p=#post166411

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?