Macro for marking targets in raids/dungeons
Posted:
Sun Jun 21, 2015 8:44 pm
by ClitYeastWood
Hello,
I am unsure if this is a well known macro. Anyhow, I feel like this is a good macro for any player whos in charge
of marking targets.
/run SetRaidTarget("target", 8) = Skull
/run SetRaidTarget("target", 7) = Cross
/run SetRaidTarget("target", 6) = Square
/run SetRaidTarget("target", 5) = Moon
/run SetRaidTarget("target", 4) = Triangle
/run SetRaidTarget("target", 3) = Purple
/run SetRaidTarget("target", 2) = Circle
/run SetRaidTarget("target", 1) = Star
/run SetRaidTarget("target", 0) = Removes the mark
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jun 22, 2015 6:42 am
by folde
Never used macros but very usefull too us noobs out here
Can I change the "/run SetRaidTarget("target", 7) = Cross" to "/run SetRaidTarget("target", F7) = Cross" for F1-F10 keys?
Re: Macro for marking targets in raids/dungeons
Posted:
Tue Jun 23, 2015 12:43 am
by Aggronaught
folde wrote:Never used macros but very usefull too us noobs out here
Can I change the "/run SetRaidTarget("target", 7) = Cross" to "/run SetRaidTarget("target", F7) = Cross" for F1-F10 keys?
That's not how it works, those numbers indicate which Mark.it is, 7 tells the game that you want to mark it with cross. You don't need the part after the equal sign. Those are the descriptions. In any case, there is a keybinding section that lets you bind keys to these marks so that you don't need macros, unless you want to click I guess.
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jul 13, 2015 1:30 pm
by DEDRICK
folde wrote:Never used macros but very usefull too us noobs out here
Can I change the "/run SetRaidTarget("target", 7) = Cross" to "/run SetRaidTarget("target", F7) = Cross" for F1-F10 keys?
You can just Keybind them all, these are just so you can put them on your bars. I use the Numpad for all my marking needs
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jul 13, 2015 1:49 pm
by Guybrush
Sort of related. Anyone know a way to target a mob with a specific mark?
Does the WoW API even allow it?
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jul 13, 2015 4:18 pm
by Meck
Looking through the API right now and it seems that GetRaidTargetIndex might do the trick:
http://wowwiki.wikia.com/API_GetRaidTargetIndexI'll test it today.
Edit: Yeah, it works.
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jul 13, 2015 4:35 pm
by Liandri
There is a way to target mobs with raid targets placed on them.
/run for i=1,13 do TargetNearestEnemy();if GetRaidTargetIndex("target")==X then do return;end;end;end;
Underlined characters: 13 represents the number of mobs to cycle through. Increase it to suit your needs. X represents the number of the raid target index. (8 is skull etc)
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jul 13, 2015 5:09 pm
by LYQ
there will never be a way which works 100% flawless to target a mob with a certain mark.
the best method (imo) would be checking if any raidmember is targeting the wanted marked mob
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jul 13, 2015 7:09 pm
by Lorilay
If you don't want to put them on your bars, LuckyCharms is a mod that does this and has hotkeys available.
Re: Macro for marking targets in raids/dungeons
Posted:
Mon Jul 13, 2015 7:38 pm
by Aunstic
LYQ wrote:there will never be a way which works 100% flawless to target a mob with a certain mark.
the best method (imo) would be checking if any raidmember is targeting the wanted marked mob
Any possible method to set IDs on a target locally and have something along the lines of using Unit GUID, SetRaidTarget, and RaidTargetIndex? Ever since I noticed the marks being removed when a mob is killed, I thought about it. ClassicFocus reinforced my idea even more because the target is always in focus no matter what you have targeted at the time.