WeakAuras.online

Your No. 1 platform to manage and share your own WeakAuras. Discover new auras for your everyday gaming experience.

Cstm trigger to allow clickable btn to make BfA WA

Created by Eluk1234 | Created: 2018-03-29T15:24:54+02:00 | Views: 372 | Votes: 0 | Suggestions: 0

Description

Hi there,
I’ve been playing Alpha and I’m amazed no one has created WA for one click, post to party/instance/raid or lfr a quick and dirty boss strat to help with pugs and early days of BfA when strat isn’t well known yet. Been running instance on Alpha and gathering data for addon but can’t work out WA yet and don’t have enough time to learn LUA :(

I’ve managed to get this far:
Loads based on zone ID
Display specific Icon (so can choose icon that looks like right boss)
Trigger 1: Status > Conditions > Always active trigger
Trigger 2: Custom > Trigger State Updater > Every Frame >
function()
local r=WeakAuras.regions[‘0BossTest1’].region
local b=CreateFrame(“Button”,“MyButton”,r,“SecureActionButtonTemplate”)

b:SetAllPoints()
b:SetAttribute(“type1″,“macrotext”)
b:SetAttribute(“macrotext1”,“/raid [group:raid]hello\n”..
/stopmacro [group:raid]\n"..
“/i [group:party]hello\n”..
“/stopmacro [group:party]\n”..
“/say hello”")

return true
end

I’d need a clickable button that appears based on zone ID (being in instance) and will report to /i, /r, /p in that order depending on what you are in. I can duplicate and add to groups so they can be moved as one, fill in strat, zone IDs, and choose an appropriate display icon and name for each one. I just need the code I can duplicate to do each one off initially.
Any help would be greatly appreciated!!!
Thanks so much

All solutions

Solutions are yet to come. Be the first and suggest a WeakAura now.You have to be logged in to add a WeakAura.

News

Are you looking for an specific aura? In our new "aura request" area you can ask experienced WeakAuras authors for help.

New features available

  • Aura classification and categories for the Battle for Azeroth addon.
Read more about the new features on Facebook.

Newest requests

New auras

  1. Bio's BFA Herb Counter Created by Biowolf | Votes: 0 | Views: 33
  2. Originator's Protection Paladin UI (BfA Day One) Created by OG6N | Votes: 0 | Views: 124
  3. DH Tank Created by tinglyrumble106 | Votes: 0 | Views: 67

High rated auras

  1. Ability Mastery Tracker Created by WalkingTheWind | Votes: 5 | Views: 18,751
  2. Ablution - Fire Mage - Bronze Dragonflight EU Created by Ablution | Votes: 5 | Views: 6,367
  3. <Faithsin> All in One Rogue HUD Created by faithsin | Votes: 4 | Views: 12,688

Planned Features

  • Notifications
  • Achievements
  • WeakAuras.online App
Upcoming | in progress I have an idea