View Single Post
04-14-13, 06:45 AM   #8
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,927
Scott, need your help

Added the following to the event checks in nUI5's nUI_ButtonBar.lua file and it is triggering but I can't remember how to tell the actionbar to change this way.

Lua Code:
  1. elseif ( event == "UPDATE_SHAPESHIFT_FORM" ) then
  2.         if ( HasTempShapeshiftActionBar() ) then
  3.             print("HasTempShapeshiftActionBar: ", HasTempShapeshiftActionBar(), " Action Page = ", GetTempShapeshiftBarIndex() )
  4.             nUI_ActionBar:SetAttribute( "actionpage", GetTempShapeshiftBarIndex() );
  5.         end



For your reference the TempShapeshiftBar is the same bar number as the ExtraActionBar which is 13.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_041413_133740.jpg
Views:	559
Size:	196.5 KB
ID:	7678  
__________________


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