WoW:MACRO target: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page MACRO target to MACRO target without leaving a redirect)
 
(No difference)

Latest revision as of 04:48, 15 August 2023

Slash commands


Sets your current target to a nearby unit.

/target options name

Aliases[edit]

/tar

Arguments[edit]

options
Options to search with, separated by commas, enclosed in [ ] (see below)
name
The string to search for in the unit's name.

Options[edit]

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 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 cast are listed here.

dead
No function (cannot target dead units using this command).
harm
No function, see targetenemy.
help
No function, see targetfriend.
target=unitid
Targets a target based on the unitid system (pet, pettarget, etc...). See cast. Using this option, you do not need to specify a name argument.


Notes[edit]

This performs a search with all nearby units whose name begins with name.