Clicks description example for macro
This commit is contained in:
parent
505154e699
commit
bc1a617b6e
@ -311,12 +311,14 @@ function Gladdy:CreateButton(i)
|
||||
secure:SetAttribute("*type*", "macro")
|
||||
--secure:SetAttribute("*type1", "target")
|
||||
--secure:SetAttribute("*type2", "focus")
|
||||
--secure:SetAttribute("unit", "target")
|
||||
secure:SetAttribute("unit", "arena" .. i)
|
||||
--secure.texture = secure:CreateTexture(nil, "OVERLAY")
|
||||
--secure.texture:SetAllPoints(secure)
|
||||
--secure.texture:SetTexture("Interface\\AddOns\\Gladdy\\Images\\Border_rounded_blp")
|
||||
|
||||
button.id = i
|
||||
--button.unit = "target"
|
||||
button.unit = "arena" .. i
|
||||
button.secure = secure
|
||||
|
||||
|
@ -190,8 +190,17 @@ local function SetupAttributeOption(i)
|
||||
},
|
||||
spell = {
|
||||
type = "input",
|
||||
name = L["Spell name / Macro text"],
|
||||
desc = L["Use *arena* as placeholder. Like a '/rofl *arena*'"],
|
||||
name = L["Cast Spell / Macro"],
|
||||
desc = L["\n|cff1ac742Cast Spell:|r\n" ..
|
||||
"Type in the spell name.\n" ..
|
||||
"For example:\n" ..
|
||||
"|cff17d1c8Polymorph|r\n" ..
|
||||
"\n" ..
|
||||
"|cff1ac742Macro:|r\n" ..
|
||||
"Use *arena* as placeholder.\n" ..
|
||||
"For example:\n" ..
|
||||
"|cff17d1c8/cast [@*arena*] Blind\n" ..
|
||||
"/run SendChatMessage(\"Blinding \" .. UnitName(\"*arena*\"), \"PARTY\")|r"],
|
||||
order = 5,
|
||||
width = "full",
|
||||
multiline = 10,
|
||||
|
Loading…
Reference in New Issue
Block a user