WoW:MACRO targetfriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Creation)
 
m (Move page script moved page MACRO targetfriend to MACRO targetfriend without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
== Aliases ==
== Aliases ==
:none
:none


== Arguments ==
== Arguments ==
:;options : Options to search with, separated by commas, enclosed in [ ] (see [[MACRO target|target]])
:;options : Options to search with, separated by commas, enclosed in [ ] (see [[MACRO target|target]])
:;name : The string to search for in the unit's name.
:;name : The string to search for in the unit's name.


== Notes ==
== Notes ==
:This performs a search with all nearby units whose name '''begins''' with name.
* This performs a search with all nearby units whose name '''begins''' with name.
:Only units who are friendly to you (ie. can cast beneficial spells) are targeted.
* Only units who are friendly to you (ie. can cast beneficial spells) are targeted.

Latest revision as of 04:48, 15 August 2023

Slash commands


Sets your current target to a nearby friendly unit.

/targetfriend options name

Aliases[edit]

none

Arguments[edit]

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

Notes[edit]

  • This performs a search with all nearby units whose name begins with name.
  • Only units who are friendly to you (ie. can cast beneficial spells) are targeted.