WoW:MACRO petattack: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Reformatted to match the template.)
(→‎Arguments: patch 3.3 added @target)
Line 15: Line 15:
These options are the same format as used in the [[MACRO_cast|cast]] command, however only the following have been tested:
These options are the same format as used in the [[MACRO_cast|cast]] command, however only the following have been tested:


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


== Examples: ==
== Examples: ==
Line 23: Line 24:
  /petattack [target=focustarget]
  /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.)
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.)
=== Patch 3.3 Changes ===
With patch 3.3, you can change the "target=" with an "@" symbol. This will reduce the amount of characters used (with a total of 255 characters limit)
/petattack [@targettarget]
/petattack [@focustarget]


== Notes ==
== Notes ==
:If no target is given, the pet will attack the player's target.
: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 14:29, 31 December 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
@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.)

Patch 3.3 Changes

With patch 3.3, you can change the "target=" with an "@" symbol. This will reduce the amount of characters used (with a total of 255 characters limit)

/petattack [@targettarget]
/petattack [@focustarget]

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.