bane_ Howardianism High-Priest Joined Nov 27, 2013 Messages 1,559 Apr 30, 2016 #1 Is it possible to create a menu-like button in the Unit Panel, similar to the ">>>" (more options) at the end of it? It will be used to store spell buttons (aka missions) for spellcasters in WBCiV and BC.
Is it possible to create a menu-like button in the Unit Panel, similar to the ">>>" (more options) at the end of it? It will be used to store spell buttons (aka missions) for spellcasters in WBCiV and BC.
whoward69 DLL Minion Joined May 30, 2011 Messages 8,725 Location Near Portsmouth, UK May 1, 2016 #2 Only by overriding the UnitPanel.lua, UnitPanel.xml and UnitPanel_small.xml files. Search for "Secondary(Stack|Button)" and basically duplicate the xml/lua to have a "SpellButton" popup a "SpellStack". Then search for the Lua file for "g_SecondaryIM" and duplicate/modify that code to populate the spell buttons into the stack.
Only by overriding the UnitPanel.lua, UnitPanel.xml and UnitPanel_small.xml files. Search for "Secondary(Stack|Button)" and basically duplicate the xml/lua to have a "SpellButton" popup a "SpellStack". Then search for the Lua file for "g_SecondaryIM" and duplicate/modify that code to populate the spell buttons into the stack.