Thread Tools Display Modes
04-19-15, 07:51 PM   #1
Jynks
A Frostmaul Preserver
Join Date: Oct 2006
Posts: 264
Mouseover Not working...

Hi there another macro questions...

This macro works perfectly...

#showtooltip Renewing Mist
/cast Thunder Focus Tea
/cast Renewing Mist

Both the spells are instant and it cast the Tea and that then boosts the Mist. The problem is that I wish to have the mist cast as a mouse over.

I have tried both...

/cast Thunder Focus Tea
/cast [@mouseover,harm,nodead][] Renewing Mist

and

/cast [@mouseover,harm,nodead][] Thunder Focus Tea
/cast [@mouseover,harm,nodead][] Renewing Mist

but in both cases the tea pop and the mist casts but it always cast on myself. I assume as if i do not have a target it casts on myself

Any ideas?
  Reply With Quote
04-19-15, 08:35 PM   #2
sirann
A Flamescale Wyrmkin
Join Date: Mar 2007
Posts: 142
one, what's the point of the empty []
two, are you sure you can combo these macros together? ie, it doesn't just say "thunder tea on cd" or w/e?
  Reply With Quote
04-19-15, 08:39 PM   #3
Jynks
A Frostmaul Preserver
Join Date: Oct 2006
Posts: 264
Originally Posted by sirann View Post
one, what's the point of the empty []
I do not know what it is for, I just copied the text form another macro. All my mouseover macros have it. I got it from some google search.

Originally Posted by sirann View Post
are you sure you can combo these macros together?
Originally Posted by Jynks View Post
This macro works perfectly...

#showtooltip Renewing Mist
/cast Thunder Focus Tea
/cast Renewing Mist
Yeah the macro works fine, just having problems with the mouseover.
  Reply With Quote
04-19-15, 08:41 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
[] means to perform as normal.

This...
Code:
/cast Thunder Focus Tea
/cast [@mouseover,harm,nodead][] Renewing Mist
...should work just fine.

Are you 100% certain that your mouse is over a harmful, alive unit when using the keybind for the macro?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-19-15, 09:57 PM   #5
Jynks
A Frostmaul Preserver
Join Date: Oct 2006
Posts: 264
it is a heal, it should be over a friendly alive.
  Reply With Quote
04-19-15, 10:01 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Then why are you telling it to check for harm instead of help?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-19-15, 10:59 PM   #7
Jynks
A Frostmaul Preserver
Join Date: Oct 2006
Posts: 264
like i said i just copy paste the code form google. I do not know what any of it means.

So like this?
Code:
/cast Thunder Focus Tea
/cast [@mouseover,help,nodead][] Renewing Mist
That worked thanks!

Last edited by Jynks : 04-20-15 at 12:16 AM.
  Reply With Quote
04-20-15, 08:15 PM   #8
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,308
A good article to read is http://wow.gamepedia.com/Macro_conditionals.

Basicly, the brackets each list a number of conditions separately that must be matched in order for the command to execute. This can be very powerful if you know what you're doing. The @<UnitID> specifies the target of a command and what unit to check the conditions against. harm checks if the unit exists and is attackable. help checks if the unit exists and is friendly. dead checks if the unit is dead. The no- prefix is a boolean not operator that returns true if the condition is false. If none of the brackets can match their conditions on the target, the command won't run. Adding empty brackets forces a true condition since there are no defined conditions and the command will run on its default target since one isn't specified.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 04-20-15 at 08:18 PM.
  Reply With Quote
04-21-15, 12:28 AM   #9
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 583
Code:
/cast Thunder Focus Tea
/cast [@mouseover,help,nodead][] Renewing Mist
If I'm not mistaken doesn't [help] imply the nodead nowadays?
__________________
Tweets YouTube Website
  Reply With Quote
04-21-15, 02:44 AM   #10
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 131
Originally Posted by 10leej View Post
Code:
/cast Thunder Focus Tea
/cast [@mouseover,help,nodead][] Renewing Mist
If I'm not mistaken doesn't [help] imply the nodead nowadays?
No because otherwise you wouldn't be able to combine resurrection and healing spells.
help implies exists and friendly
__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker
  Reply With Quote
12-26-15, 12:05 PM   #11
balzer1075
A Kobold Labourer
Join Date: Dec 2015
Posts: 1
Originally Posted by sirann View Post
one, what's the point of the empty []
two, are you sure you can combo these macros together? ie, it doesn't just say "thunder tea on cd" or w/e?
The empty [] is for when no mouseover exists. If the conditions fail then it resorts to casting the default way. When I make my macros I set up a whole priority order like this:

Code:
/use [@mouseover,help,nodead][@target,help,nodead][@targettarget,help,nodead][] heal
This basically casts on mouseover if I'm mousing over someone friendly who is alive, but if they're dead, not friendly, or I'm not mousing over anyone then it casts on my target if its friendly or my targets target if that doesnt work (so I can cast heals by targeting the boss, sort of an easy way to be able to dps in heroics and still heal the tank). The [] actually isnt really needed here because we covered all possible cases but if for instance you just have /cast [@mouseover,help,nodead] heal and you're not mousing over anyone then it just won't do anything. Whereas the same macro with [] added to the end will also cast on target if you have one or yourself otherwise (just like the normal spell without any conditionals.)
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Mouseover Not working...

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off