WoW:MACRO petattack: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page MACRO petattack to MACRO petattack without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:


== Arguments ==
== Arguments ==
:;options : List of options below, separated by commas, enclosed in [ ]
:;options
:: List of options below, separated by commas, enclosed in [ ]


===Options===
===Options===
Line 15: Line 16:


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


== Examples: ==
== Examples: ==
Line 27: Line 29:
*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.
*In PvP, players can use this as a method to get in [[combat]] to prevent themselves from being [[crowd control]]led by a rogue's {{ability|Sap}}. senior ctd amrit did an edit here, oh snap lol rip
*In PvP, players can use this as a method to get in [[combat]] to prevent themselves from being [[crowd control]]led by a rogue's {{ability|Sap}}.

Latest revision as of 04:48, 15 August 2023

Slash commands


Instructs your pet to attack

/petattack options

Aliases[edit]

none

Arguments[edit]

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

Options[edit]

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:[edit]

/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[edit]

  • 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.
  • In PvP, players can use this as a method to get in combat to prevent themselves from being crowd controlled by a rogue's Template:Ability.