WoW:MACRO petattack: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(CategorySelect - Adding categories)
Line 18: Line 18:


== Examples: ==
== Examples: ==
  /petattack [target=targettarget]
  /petattack [target=target]
This will tell your pet to target your target's target (e.g. If you have a friendly target that is attacking a hostile target.)
This will tell your pet to target your target's target (e.g. If you have a friendly target that is attacking a hostile target.)



Revision as of 20:33, 31 March 2015

Slash commands


Instructs your pet to attack

/petattack options

Aliases

none

Arguments

options
List of options below, separated by commas, enclosed in [ ]

Options

These options are the same format as used in the cast command, however only the following have been tested:

target=unitid
@unitid
Casts on a specific target without changing your current target.

Examples:

/petattack [target=target]

This will tell your pet to target your target's target (e.g. If you have a friendly target that is attacking a hostile target.)

/petattack [target=focustarget]

This will tell your pet to target your focus' target (e.g. If you have a friendly target on /focus, and it will attack their target.)

Notes

If no target is given, the pet will attack the player's target.
This will cause you to become PvP flagged if you attack a PvP flagged unit.