User Interface: Difference between revisions

From Vanilla Plus
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 33: Line 33:
*'''Output Actionbar Slots as Icon Textures'''  
*'''Output Actionbar Slots as Icon Textures'''  
**''(Useful for macro/scripting; Searches all bars, to limit change 1,120 to intended range)''
**''(Useful for macro/scripting; Searches all bars, to limit change 1,120 to intended range)''
**/run local l=0;for l=1,120 do local t=GetActionText(l);local x=GetActionTexture(l);if x then local m="Slot "..l..": ["..x.."]";if t then m=m.." \""..t.."\"";end;DEFAULT_CHAT_FRAME:AddMessage(m);end;end;
**<code>/run for l=1,120 do local t=GetActionText(l); local x=GetActionTexture(l); if x then local m="Slot "..l..": ["..x.."]"; if t then m=m.." \""..t.."\""; end; DEFAULT_CHAT_FRAME:AddMessage(m); end; end</code>
* '''Raid Target Icons'''
* '''Raid Target Icons'''
** '''Focus Fire Target Marks'''
** '''Focus Fire Target Marks'''

Latest revision as of 13:24, 30 April 2026

Vanilla Plus Github Addon Discussion: https://github.com/KrekoG/vanillaplus#addons-maintained-by-the-community

General Addons:

Vanilla+ Class/Role Specific Tools:

Macros:

  • Mob Attack Damage/Speed
    • /script ld, hd, old, ohd, pb, nb, pm = UnitDamage("target"); SendChatMessage(UnitName("target").."'s main hand attacks hit for "..ld.." to "..hd.. " and their offhand attacks hit for "..old.." to "..ohd);
  • Mob Armor & Resist
    • /script u=UnitResistance y="target" a=u(y ,0) h=u(y ,1) f=u(y ,2) n=u(y ,3) fr=u(y ,4) s=u(y ,5) z=u(y ,6) SendChatMessage(UnitName(y).." has "..a.." Armor, "..h.." HR, "..f.." FR, "..n.." NR, "..fr.." FrR, "..s.." SR and "..z.." AR.", SAY)
  • Instance Reset
    • /script ResetInstances();
  • Autoattack
    • [Note: You must set the actionbar slot designated in script to your 'Attack' Spell, see attached image]
      • /script if not IsCurrentAction(12) then UseAction(12) end;
  • Output Actionbar Slots as Icon Textures
    • (Useful for macro/scripting; Searches all bars, to limit change 1,120 to intended range)
    • /run for l=1,120 do local t=GetActionText(l); local x=GetActionTexture(l); if x then local m="Slot "..l..": ["..x.."]"; if t then m=m.." \""..t.."\""; end; DEFAULT_CHAT_FRAME:AddMessage(m); end; end
  • Raid Target Icons
    • Focus Fire Target Marks
      • Skull - /script SetRaidTarget("target", 8)
      • X/Cross - /script SetRaidTarget("target", 7)
        • Crowd Control Target Marks
          • Star - /script SetRaidTarget("target", 1)
          • Circle - /script SetRaidTarget("target", 2)
          • Diamond - /script SetRaidTarget("target", 3)
          • Triangle - /script SetRaidTarget("target", 4)
          • Moon - /script SetRaidTarget("target", 5)
          • Square - /script SetRaidTarget("target", 6)