WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Mouseover Not working... (https://www.wowinterface.com/forums/showthread.php?t=52215)

Jynks 04-19-15 07:51 PM

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?

sirann 04-19-15 08:35 PM

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?

Jynks 04-19-15 08:39 PM

Quote:

Originally Posted by sirann (Post 308293)
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.

Quote:

Originally Posted by sirann (Post 308293)
are you sure you can combo these macros together?
Quote:

Originally Posted by Jynks (Post 308291)
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.

Seerah 04-19-15 08:41 PM

[] 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?

Jynks 04-19-15 09:57 PM

it is a heal, it should be over a friendly alive.

Seerah 04-19-15 10:01 PM

Then why are you telling it to check for harm instead of help? ;)

Jynks 04-19-15 10:59 PM

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!

SDPhantom 04-20-15 08:15 PM

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.

10leej 04-21-15 12:28 AM

Code:

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

If I'm not mistaken doesn't [help] imply the nodead nowadays?

humfras 04-21-15 02:44 AM

Quote:

Originally Posted by 10leej (Post 308337)
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

balzer1075 12-26-15 12:05 PM

Quote:

Originally Posted by sirann (Post 308293)
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.)


All times are GMT -6. The time now is 09:37 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI