WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   WD - Macros (https://www.wowinterface.com/forums/showthread.php?t=3748)

Ariinya 02-12-06 12:44 AM

WD - Macros
 
I was wondering if there was a way to put a macro as one of the mouse presses.

Cladhaire 02-12-06 01:54 PM

If this is for WatchDog, yes you can-- but not as a specific macro. You can type any /script commands directly into the click-cast entry and make it click-castable. For example, to announce you're casting a spell on something:

/script SendChatMessage("Casting spell on " .. UnitName(wd_unit), "PARTY") CastSpellByName("Polymorph")

Ariinya 02-12-06 03:46 PM

I'm a Druid, trying to use a mod called HealingToucher. The script is:

/script HealingToucher();

Is there something specific I need to do to make it work with WatchDog?

raywen 02-12-06 04:05 PM

I used HealingToucher with WD at one point, so I know it worked. It's been a while but i *think* you can just type..
HealingToucher
in the box for the clickcast you want. If not try it without the script and just the () after.

GL

Ariinya 02-12-06 04:19 PM

Thank you, raywen. It wasn't a problem with Watchdog or HealingToucher, just me being stupid and not reading enough! ^^ I'm only a level 14 Druid, and it only begins working with Rank 3, and I was never down enough HP to make it work... but I tested it, and it works! I'm using the script as is.

edit: Apparently, the person needs to be targetted. Is there a way to make put in the click cast to make it target? In raid, it does it so long as smart targetting isn't on, but in party, it won't target when I click to heal.

ashejira 04-02-06 07:14 AM

Hi Clad,

As a replacement for Manaconserve,

/script if CastingBarFrame:IsShown() and UnitHealth("target") / ( UnitHealthMax("target") / 100 ) > 80 then SpellStopCasting() elseif not CastingBarFrame:IsShown() then CastSpellByName("Flash Heal(Rank 7)") end

or

/script if CastingBarFrame.casting and UnitHealthMax("target") - UnitHealth("target") < 1000 then SpellStopCasting() else CastSpellByName("Flash Heal(Rank 7)") end

would work? Would be aewsome.

I've got no ideas about coding, so a short yes or no would be awesome! Maybe others would find this useful too!

Best Regards

Ashejira


All times are GMT -6. The time now is 06:59 AM.

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