MACRO petattack

From Wowpedia
Jump to: navigation, search

Instructs the pet to attack.

/petattack [options] target

Usage

This command accepts secure command options. The value associated with the first satisfied condition will be interpreted as described below. If no conditions are satisfied, no action will be performed.

If the first satisfied condition explicitly specifies a target that is not exactly "pettarget", that target (and not the associated value) will be interpreted as described below.

Arguments

target 
unitId or name of a nearby hostile entity to attack. If not specified, the pet will attack your current target.

Details

  • If you instruct your pet to attack a PvP-flagged target, you will become PvP flagged.

Examples

/petattack [@targettarget]
/petattack targettarget

Both of these 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.)