Help with macro

Veroland

Executive Member
Joined
Aug 24, 2005
Messages
6,525
Reaction score
455
Location
South Crest, Alberton
Hi

I got this pet attack etc macro from the net. IT works well except that when I use it while focusing on a target a second a second focus frame for the target comes up on my screen. (The one with the portrait and health etc)

Can anyone tell me what might be causing that and if I can remove it. I have tried to modify it but I keep on breaking the macro that way

/cast [@pet,dead][mod:shift] Revive Pet
/cast [nopet,nomod] Call Pet 4
/clearfocus [@focus,dead]
/focus [@focus,exists]player;target
/clearfocus [@focus,noharm]
/petattack [@focus,exists]
/petfollow [@focus,noexists]
/cast Hunter's Mark

Thanks a lot
 
Not quite sure what you mean. From what I understand, when you are targeting an enemy and press the macro, it creates a focus frame of the target, and you don't want to do that.

The line /focus [@focus,exists]player;target is what is creating the focus. The petattack lines are using the focus to select the target to attack, so removing the focus line will break the macro. You will need to change the /petattack line to your current target. The /petfollow line will also have to be removed or changed.
 
You mean you actually get 2 focus frames? You gotta tell me how you do that because ive been looking for a multiple target focus mod forever :)) Seriously though, what unitframe addon are you using and, excuse my ignorance, but are you sure the 2nd frame isnt really the focus where the 1st was actually the target frame? From what i can see this does is that if you do not have a focus you will focus on your target and your pet will be sent to attack it. If you have a focus you will clear focus and your pet will be recalled to follow you. So the construction of the macro seems sound, it might just be a UI issue.
 
You mean you actually get 2 focus frames? You gotta tell me how you do that because ive been looking for a multiple target focus mod forever :)) Seriously though, what unitframe addon are you using and, excuse my ignorance, but are you sure the 2nd frame isnt really the focus where the 1st was actually the target frame? From what i can see this does is that if you do not have a focus you will focus on your target and your pet will be sent to attack it. If you have a focus you will clear focus and your pet will be recalled to follow you. So the construction of the macro seems sound, it might just be a UI issue.

Here is a screen shot, same target in both frames

http://mybroadband.co.za/vb/album.php?albumid=238&attachmentid=8579

The macro works, so it could be ui related
 
The top one next to your character frame is the normal target frame.

The second one is the focus frame. You can use it to keep track of an enemy or friendly target/player.
 
Working as intended

The focus frame is used to well,focus,on a specific target - not necessarily the one you have selected,effectively keeping track of 2 units at once
 
Should be easy question. I am looking to make a macro to cast a spell by using mouseover. The idea is to cast the spell on mouseover target without changing you current target.

I've seen something like this before but can't find it.

For example, I would like to cast Taunt at my mouseover target without changing my current target.
 
not sure if this will change you target or set focus but it will cast at your mouseover

/cast [target=mouseover] Taunt

That's correct. That one won't change your target.
If you use /cast [@mouseover] Taunt it will change target to the mouseover.
 
Top
Sign up to the MyBroadband newsletter
X