View Single Post
03-23-24, 07:11 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,937
I can't see anything clearly wrong with your code.

nUI auto switches rep fine ( although admittedly I haven't played properly much recently so a recent patch may have done something, but no one has reported anything yet in that regards ) .

I would suggest checking each lines values and see if any of them result in a true or false value for the watchedFactionID variable. Which would mean the following lines would not execute.

Is that last line supposed to have that extra test at the end ? It seems like it should be on the next line rather than as an or statement. Technically shouldn't make a difference but hard to say.

Edit:
Also, you might find you need to put some of those tests in brackets to ensure the right results are being tested and the right value being assigned. That's messed me up a few times when I've done assignment lines like that.
__________________


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

Last edited by Xrystal : 03-23-24 at 07:20 AM.
  Reply With Quote