Correct, might just have been me misreading what was asked.
Correct, might just have been me misreading what was asked.
UI & AddOns expert | Interface & Macros moderator - My work
Does "/click" work like "/use"? – could I put my conditionals after it and before "ExtraActionButton1", like this?:
Code:/click [@focus,exists] ExtraActionButton1; ExtraActionButton1
You could do this, if you want to be explicit:
But, to answer your question: /target [@focus] will always run /target focus, regardless of whether you have one; it just won't have any effect if you don't have one (just like typing /target Goo Blah Darbledum doesn't do anything). Adding exists just prevents it from even trying.
/target will target the UnitID provided by the conditional block that passes in preference to the value that is provided to the slash command. Usually. So, if you typed this...
...mouseover would be ignored.Code:/target [@focus,exists] mouseover
This behavior changes if the conditional block that passes applies implicitly or explicitly to target. In that case, the value provided to the slash command is used. So, if you typed this...
Code:/target [@focus,exists,nodead][exists,nodead][@player] pet
- If you had a focus and it was alive, pet would be ignored and focus would be targeted.
- If you had a target and it was alive, pet would be targeted.
- In all other cases, pet would be ignored and player would be targeted.
What that also means, amusingly, is that if you typed this...
...it would do one of two things which would both produce the same outcome:Code:/target [help,nodead]
Adding "target" to the end of the command will also not change the behavior as /target (with no parameters) and /target target do the same thing -- nothing.
- If you had a target and it was friendly and alive, attempt to target something named "" (empty string).
- In all other cases, don't try to target anything.
Which UnitID has special behavior varies by slash command. Wowpedia explains it nicely: [target=] or [@] versus unit parameters
Last edited by Pelf; 2013-12-15 at 11:07 AM.
Shiboomi of <Riot> on US-Sargeras
I've tried playing around with some macros, and I wanted to make a shadowstep macro where I shadowstep on my target with no modifier, shadowstep on focus with shift modifier and shadowstep on partymember with control modifier. I've gotten the focus-stepping to work, but cant seem to get it to jump to my partymember. This is what I have so far:
/cast [nomod] Shadowstep
/cast [modifier:shift, target=focus] Shadowstep
/cast [modifier:ctrl, target=namehere] Shadowstep
Can anyone please tell me where I am wrong in this? I'd very much like to avoid a mouseover macro, simply because it'd be easier having a set target as I mostly play 2s.
I used to have 13 macros that i run every time i log on. I managed to redo first 6 and created an addon. But Im having problems with these:
Managed to move the frames, but they are not scaling, pvp trinket part is too advanced. Could anyone help me to rewrite CODE so its suitable for lua? Thanks in advance!!!Code:-- Macro 7 -- /run ArenaEnemyFrame1:SetScale(1.3) /run ArenaEnemyFrame2:SetScale(1.3) /run ArenaEnemyFrame3:SetScale(1.3) /run ArenaEnemyFrame4:SetScale(1.3) /run ArenaEnemyFrame5:SetScale(1.3) /run ArenaEnemyFrame5:SetPoint("topright", -390, -25) -- Macro 8 -- /run rc=36;rfc=CooldownFrame_SetTimer;aef="ArenaEnemyFrame";hb="HealthBar";trt=GetItemIcon(37864)ctf = CreateFrame;oe="ARENA_OPPONENT_UPDATE"ve="PLAYER_ENTERING_WORLD"tr="RIGHT"LoadAddOn("Blizzard_ArenaUI") /run hooksecurefunc(UFP,function(self) if self.p -- Macro 9 -- /run function Cr(i)local f=ctf("Frame",nil,UIParent)f:SetPoint(tr,_G[aef..i..hb],tr,80,0)f:SetSize(rc,rc)f.t=f:CreateTexture(nil,"BORDER")f.t:SetAllPoints(true)f.t:SetTexture(trt)f.c=CreateFrame("Cooldown",nil,f)f.c:SetAllPoints(f)return f;end -- Macro 10 -- /run function ur(f,i)f:SetScript("OnEvent",function(_,e,u,_,_,_,s)if(u=="arena"..i)then if(s==42292 or s==59752)then rfc(f.c,GetTime(),120,1)elseif(s==7744)then rfc(f.c,GetTime(),30,1)end end end)f:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")end -- Macro 11 -- /run for i=1,5 do _G["rf"..i]=Cr(i)local f=_G["rf"..i]ur(f,i)f:Hide()end function str(o,m)for i=1, m do local f=_G["rf"..i]if o then f:Show()else f:Hide()f.c:Hide()end end end -- Macro 12 -- /run tk=ctf("Frame")tk:SetScript("OnEvent",function(_,e)if e==oe then str(1,GetNumArenaOpponents())else str(nil,5)end end)tk:RegisterEvent(oe)tk:RegisterEvent(ve) -- Macro 13 -- /run ArenaEnemyFrame1:SetPoint("topright", -390, -25) /run ArenaEnemyFrame2:SetPoint("topright", -390, -25) /run ArenaEnemyFrame3:SetPoint("topright", -390, -25) /run ArenaEnemyFrame4:SetPoint("topright", -390, -25)
Last edited by Herpi; 2013-12-16 at 11:52 AM.
Started playing on my druid again and came across some minor issues with my engineering and NS-macro.
Currently it looks like this:
/cast [nomodifier] Nature's Swiftness; /cast [modifier:shift] Tranquility; [modifier:ctrl] Heart of the Wild(Talent)
I want it to activate my gloves and NS on nomod, Tranquility on modshift and ofc Hotw on modctrl.
That is what the macro does. The problem however is that the #showtooltip part only displays gloves
and nothing else when i use modifiers as opposed to my other macros with modifiers.
Im guessing it has something to do with /use 10 being at the top but i dont know how to make the macro work otherwise.
Thanks in advance!
Code:#showtooltip [mod:shift]Tranquility;[mod:ctrl]Heart of the Wild;Nature's Swiftness /use 10 /use [mod:shift]Tranquility;[mod:ctrl]Heart of the Wild;Nature's Swiftness
(I don't think the "(Talent)" is necessary, anyway? I'm sure you can add that back in yourself if it is. Also, in case you're curious, it is possible to do like "#showtooltip Swipe" to show the icon and tooltip for something that isn't actually used in the macro at all.)
Come on, die young.
Looking for some clarification on /startattack. I have a very simple macro I made for my Hunter because the first attack I use is a pet ability:
My problem is, even though the command states "start," it seems that /startattack both starts and stops your auto attack when spammed. Is there a way to make it not do that?Code:#showtooltip /startattack /use Kill Command
It shouldn't be. Either you're wrong somehow or something other than the macro is turning off your autoattack.
Alright, that's what I thought. I just wanted to confirm before I go tearing around my entire UI to figure out what's going on, just to find out I'm an idiot and there's some other command than /startattack or something.
I had an issue a while back with my autoattack infrequently being turned off and the issue ended up being having a /target ... /targetlasttarget macro as a rotational ability. Probably not your issue but who knows.
I would like to macro a sound to an ability, I think I understand how this works. But the problem is the Sound File. So if there are some amazing Sound File wizards out here, I would very much like some help!
A while ago I made a DK, while doing the quest: www,wowwiki.com/Quest:The_Might_Of_The_Scourge, I heared an, in my opinion, amazing sound Scourge Horn. I tried finding the Appropriate sound file, however all I could come up with is the basic horn sound, used by NPCscan trigger for instance.
With Wowhead recently adding a new feature: Sound Files. basicly allows you to scroll through and filter the soundfiles without extra addons/programs. So I started looking for the soundfile again, with no luck at all. It made it easier to to find several Horns, foghorn of Stormwind and whatnot, sadly not the horn related to the DK starter quest.
If anyone with more knowledge on how to find the soundfile could explain to me how I can filter for a event/trigger of a quest completion, which will make the sound play. I can't find the sound file simply looking at Highlord Darion Mograine his files. Or if it is easily found, a link is also very much appriciated!
Quest: The Might of the Scourge (Completion!)
NPC: Highlord Darion Mograine?
On completion emotes:
- Highlord Darion Mograine calls upon the mighty armies of the Scourge!
- Highlord Darion Mograine yells: Armies of the Scourge, hear my call! The scarlet apocalypse has begun! Tear this land asunder and leave only death in your wake!
In between of the 1st and 2nd emote, if I remember correctly, a very long Scourge Horn sound will play. Both emotes happen after you hand in the quest, I couldnt find the sound file being linked to the quest.
I apologize if this is considered the wrong section of the forums, but seeing as it is slightly related to macro's I thought I'd ask here! If I was wrong, please direct me into the right part of the forums
Thanks alot in advance!
Last edited by DoraTeaExplorer; 2013-12-24 at 10:30 PM.
If that doesn't help, you're basically out of luck, since Blizzard provides no easy way to know what sound is playing
So I was playing wow, when the electricity went out and my computer turned off. When I turned it on again and logged into wow i found that every single game and addon settings were reset and every single one of my general macros were gone. I logged in and there is no guildchat or /s, /y these things. I found the macro.txt and there is only a decursive macro in it. I've tried everything i know, but nothing helps. Maybe somebody can help.