Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:MACRO target
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{macroapi}} __NOTOC__ Sets your current target to a nearby unit. /target options name == Aliases == :/tar == Arguments == :;options : Options to search with, separated by commas, enclosed in [ ] (see below) :;name : The string to search for in the unit's name. ===Options=== You may specify these options, if you wish to invert the logic of the option, put "no" in front of it (ex. noexists). This is mostly the same as the [[MACRO cast|cast]] options, but some options do not work as expected, see notes. For the conditionals like combat, stance, stealth, the test is performed on the ''player'', not the target. The ones that differ in functionality from [[MACRO cast|cast]] are listed here. :;dead : No function (cannot target dead units using this command). :;harm : No function, see [[MACRO targetenemy | targetenemy]]. :;help : No function, see [[MACRO targetfriend | targetfriend]]. :;target=unitid : Targets a target based on the unitid system (pet, pettarget, etc...). See [[MACRO cast|cast]]. Using this option, you do not need to specify a name argument. == Notes == :This performs a search with all nearby units whose name '''begins''' with name.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Macroapi
(
edit
)
Template:Macronav
(
edit
)
Template:Tocright
(
edit
)
Close
Loading editor…