 |
08/10/06, 1:04 PM
|
#1
|
|
<Druid Trainer> Emeritus
|
Can I make a macro that casts Fire Ward, except for when I have a debuff on me called "Blizzard," in which case it casts Frost Ward?
|
|
|
|
08/10/06, 1:51 PM
|
#3
|
|
Bald Bull
Tauren Druid
Defias Brotherhood (EU)
|
Try this, hopefully will work:
Download this addon first of all : http://www.curse-gaming.com/en/wow/a...uffactive.html
then try the macro;
/script if (IsBuffActive("Blizzard")) then CastSpellByName("Frost Ward") else CastSpellByname("Fire Ward");end;
try that and see if it works if it doesn't then say and I will try fix it.
|
|
|
|
|
08/10/06, 5:31 PM
|
#4
|
|
Piston Honda
|
Hi-JACK but still on the macro topic...
Anyone know how to write a macro that will automatically target a specific raid icon? I could have sworn I saw someone post something that worked like that in the middle some some random thread a few weeks back, but I can't find it now that I need it.
|
|
|
|
08/15/06, 6:51 AM
|
#5
|
|
Glass Joe
|
Quick question, anyone know how to make a macro to apply a bandage to myself
/target self blah blah, having trouble getting it to work.
|
|
|
|
|
08/15/06, 7:26 AM
|
#6
|
|
Global Warming let's me bike more.
Nemmie
Blood Elf Paladin
No WoW Account (EU)
|
/script SetRaidTarget("target",Icon);
Replace Icon with one of these numbers:
0 = no icon
1 = Yellow 4-point Star
2 = Orange Circle
3 = Purple Diamond
4 = Green Triangle
5 = White Crescent Moon
6 = Blue Square
7 = Red "X" Cross
8 = White Skull
actually i misunderstood, this just paints the icon above your target howver this mod has the functionality you are looking for > http://ui.worldofwar.net/ui.php?id=2765
|
|
Originally Posted by Zyla
If you can undo the bra with your teeth, it leaves your hands free for the keyboard.
|
 in EJBSG17
|
|
|
08/15/06, 7:57 AM
|
#7
|
|
King Hippo
Orc Shaman
Blackrock (EU)
|
Its also possible to create keybinds for targeting the different raid icons via the standard keybinding menu.
|
|
|
|
|
08/15/06, 8:05 AM
|
#8
|
|
Piston Honda
Murloc Warlock
Defias Brotherhood (EU)
|
|
Originally Posted by Grailyn
Hi-JACK but still on the macro topic...
Anyone know how to write a macro that will automatically target a specific raid icon? I could have sworn I saw someone post something that worked like that in the middle some some random thread a few weeks back, but I can't find it now that I need it.
|
http://www.wowwiki.com/Interface_Customization_FAQ
Q.Can I target mobs via raid icons? The ones set via the SetRaidTarget() API?
A No, and it is highly doubtful that we ever will. Blizzard explicitly does not want to allow unambiguous saving and restoring of targets programatically.
|
I don't think you can. You can find out what icon a targeted mob has assigned to it with GetRaidTargetIndex, and set targets with SetRaidTarget.
However, an event is triggered when raid target icons change. RaidTargetUpdate
"RAID_TARGET_UPDATE"
Category: Party,Unit Info
New in 1.11. Fired when a raid target icon is changed or removed. Also fired when player join or leave a party or raid. arg1 is who gets updated.
Note: Does not get triggered if a mob wearing a raid target icon dies (the icon is removed from that mob, however.)
|
Someone who knows the UI system better than me might be able to use a channel system to allow the raid leader to share info about which mobs he has set targets over to a mod using RaidTargetUpdate, and then if the mobs had unique names the mod could associate icons with names. However, for fights like Garr where you have 8 mobs with identical names, I don't see a way to get a useful /target gold star kind of system. Which is a crying shame.
Hopefully someone better than me will come and disprove me now, and I can work on my LazyLock mod.
|
|
|
|
|
08/15/06, 8:16 AM
|
#9
|
|
Mike Tyson
Malan
Tauren Shaman
No WoW Account
|
|
Originally Posted by Grailyn
Hi-JACK but still on the macro topic...
Anyone know how to write a macro that will automatically target a specific raid icon? I could have sworn I saw someone post something that worked like that in the middle some some random thread a few weeks back, but I can't find it now that I need it.
|
You can grab a mod called BananaBar off curse gaming. The catch though is that someone else has to already be targeting the mob/char with that raid icon - its how bliz limited automatic targeting I guess.
|
|
|
|
|
08/15/06, 9:57 AM
|
#10
|
|
Von Kaiser
|
Yeah, there is currently no function in the game to target a mob with a specific raid icon. However, there are addons available which find unique ways of doing this. There are ones which cycle through and assist off players whom are already targetting the specified mob, ones which cycle through each mob until the specified mob is found (even less reliable), ones which have you hover your mouse over a group of mobs until the specified mob is found (more manual), etc. Of course, none of these will give you 100% results.
To me, the best system so far is to have CT_RaidAssist's Main Tank's Target window be incorporated with raid icons. We have warriors and one or two pullers set up on it (usually as main assists on targetting) and with this, we usually have a wide array of targets to choose from. If I find it impossible to click on a certain mob, I'll just click on an MTT.
|
|
|
|
|
08/15/06, 10:00 AM
|
#11
|
|
Protector
Ashstorm
Human Paladin
No WoW Account
|
|
Originally Posted by Urden
Quick question, anyone know how to make a macro to apply a bandage to myself
/target self blah blah, having trouble getting it to work.
|
If you get the mod called UseByName, it adds functionality to your macros.
Then you can make a macro:
/usebyname Heavy Runecloth Bandage
/target your chacter's name
Then you could optionally add /script ClearTarget(); after the 2nd line so you untarget yourself.
|
Millions of words are written annually purporting to tell how to beat the races, whereas the best possible advice on the subject is found in the three monosyllables: 'Do not try.'
|
|
|
08/15/06, 10:03 AM
|
#12
|
|
Don Flamenco
Tauren Druid
Neptulon (EU)
|
You'd want to target yourself first - else you could be targeting a friendly player in bandaging range and bandage them. Also, /script TargetLastTarget() might be a better idea.
|
|
|
|
|
08/15/06, 10:09 AM
|
#13
|
|
Protector
Ashstorm
Human Paladin
No WoW Account
|
|
Originally Posted by RoboStac
You'd want to target yourself first - else you could be targeting a friendly player in bandaging range and bandage them. Also, /script TargetLastTarget() might be a better idea.
|
I like my macro to be able to bandaid friendly targets ;).
Yeah, TargetLastTarget is a better idea.
|
Millions of words are written annually purporting to tell how to beat the races, whereas the best possible advice on the subject is found in the three monosyllables: 'Do not try.'
|
|
|
08/15/06, 10:11 AM
|
#14
|
|
Mike Tyson
Malan
Tauren Shaman
No WoW Account
|
|
Originally Posted by Urden
Quick question, anyone know how to make a macro to apply a bandage to myself
/target self blah blah, having trouble getting it to work.
|
Grab OmaTriage from Curse, auto finds bandaids in your inventory and bandages yourself (can't be applied to others with this addon) and doesn't lose your current target to do so.
http://www.curse-gaming.com/en/wow/a...ma-triage.html
|
|
|
|
|
08/15/06, 10:17 AM
|
#15
|
|
Von Kaiser
|
/cast UseContainerItem(#, #); (For #'s, go here)
/script if SpellIsTargeting() then TargetUnit("player"); end;
This would probably be what you're looking for if you don't want to install any addons. If you're already targetting another player, it will bandage that player. If you're targetting an enemy or no one, it will bandage yourself.
|
|
|
|
|
08/15/06, 1:04 PM
|
#16
|
|
In 1st, e-brake activated.
Kytrarewn
Undead Rogue
No WoW Account
|
http://www.curse-gaming.com/en/wow/a...oadkiller.html
Uses bandaids on yourself automatically if you're A. Targeting yourself, B. Targetting a hostile creature or C. Targetting no one, makes keybinding trivial, can also set up healing potions, healthstones, thistle tea, mana potions, mana gems, stat consumables, etc.
Also: You don't lose combo points using this to bandage yourself.
As far as the original question: I'm not entirely sure that that's possible. Given that you have to search for buffs/debuffs by texture, and the fact that, while SCT says "+Blizzard -Blizzard" or "+RainOfFire -RainOfFire", it doesn't actually show up in your personal buff or debuff icons.
|
|
|
|
08/15/06, 1:15 PM
|
#17
|
|
Bald Bull
Human Death Knight
Kilrogg
|
I'll have to go check my macro's this evening, but I do have one for my warlock that reads the debuff on a target looking for immolate, and casts conflag if it's there and applies immolate if it's not. I don't know much about lua, but I have to imagine you could apply that logical check to yourself to see if you're being affected by a debuff and cast FrW or FW accordingly.
Note: that macro flat out doesn't work any time you've got more than one immolate on a target.
|
|
|
|
|
|