WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   on-the-fly /target macro (https://www.wowinterface.com/forums/showthread.php?t=44785)

shyrotam 10-15-12 06:09 AM

on-the-fly /target macro
 
What is the quickest way I could write the names of enemy targets to a macro?

"/target shamwow
/target bravehearth
/target dischead
/target genericdeth
/target stabstab
/target dumhunter
/target stupidface
/cast stun"

I'd like to prepare this macro at the start of every BG (with BattlegroundTargets I can manually target each enemy from the holding pen).

Also, could the process be automated in any way? And if so can there be any kind of sort function to put healers at the end of the list?

Thanks. :)

tinyu 10-15-12 06:14 AM

automation is not possible.

Phanx 10-15-12 06:47 AM

An addon could automatically get the names of your arena/battleground opponents and put them in the macro, but only while out of combat, so it would not be all that useful. Also, I don't know of any existing addons that do this, so you'd probably have to write one.

suicidalkatt 10-15-12 06:59 AM

My QuickQuestItem has the ability to write / update a macro on mouseover but I don't really see the reason for having this?

If you're looking to make 10 macros to automatically be created/updated when you join a BG, that's possible. As for arena, as long as you're out of combat for a moment and have a chance to gather the names it's doable.

From what I can tell you're looking to target the closest enemy to cast a stun.

If this is the case a simple macro for that could be made with this:
Code:

/cleartarget
/targetenemy
/cast spellname


SDPhantom 10-15-12 08:59 AM

Quote:

Originally Posted by shyrotam (Post 266771)
What is the quickest way I could write the names of enemy targets to a macro?

"/target shamwow
/target bravehearth
/target dischead
/target genericdeth
/target stabstab
/target dumhunter
/target stupidface
/cast stun"

I'd like to prepare this macro at the start of every BG (with BattlegroundTargets I can manually target each enemy from the holding pen).

Also, could the process be automated in any way? And if so can there be any kind of sort function to put healers at the end of the list?

Thanks. :)

Assuming you have such an addon process the list at the beginning of a BG (while still out of combat), there's a serious flaw in the use of the macro. It will force target of the last person on the list that it can target. This will most likely be someone across the entire field and would be far out of range of any ability you can use. This would render the macro completely useless even if you had someone else on the list within range, previously targeted or not. You'd be better off using /targetenemyplayer [noharm]

shyrotam 10-15-12 11:00 AM

Quote:

Originally Posted by SDPhantom (Post 266784)
Assuming you have such an addon process the list at the beginning of a BG (while still out of combat), there's a serious flaw in the use of the macro. It will force target of the last person on the list that it can target. This will most likely be someone across the entire field and would be far out of range of any ability you can use. This would render the macro completely useless even if you had someone else on the list within range, previously targeted or not. You'd be better off using /targetenemyplayer [noharm]

Ohhhh...it will target people out of range. That messes it up. Thx for the alternative.

SDPhantom 10-15-12 12:41 PM

The reason being is BGs have a much larger "visual range" than other areas.


All times are GMT -6. The time now is 04:47 PM.

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