WoW:MACRO petattack: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Reformatted to match the template.)
Line 2: Line 2:




Instructs your pet to attack the player's target
Instructs your pet to attack
  /petattack
  /petattack options


== Aliases ==
== Aliases ==
Line 10: Line 10:


== Arguments ==
== Arguments ==
:none
:;options : List of options below, separated by commas, enclosed in [ ]
 
===Options===
These options are the same format as used in the [[MACRO_cast|cast]] command, however only the following have been tested:


== [target=...] Flag ==
:;target=unitid : Casts on a specific target without changing your current target.
:This macro command can be accompanied by the [target=...] variable to help coordinate your macros


==== Examples: ====
== Examples: ==
  /petattack [target=targettarget]
  /petattack [target=targettarget]
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.)
Line 23: Line 25:


== Notes ==
== 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.
:This will cause you to become PvP flagged if you attack a PvP flagged unit.

Revision as of 03:08, 28 November 2009

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
Casts on a specific target without changing your current target.

Examples:

/petattack [target=targettarget]

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.