Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
→ WoW API
|This is no longer a part of the World of Warcraft API.
Targets the specified unit's pet. If no such pet exists, the target will remain unchanged.
- String - The UnitId of the owner of the pet you wish to target.
- Unknown: presumably no return value, possibly some status to indicate if success/failure?
- The specified unit's pet becomes the active target, if such a pet exists. Otherwise, no change to target is made.
if ( UnitIsUnit("party1", "target") ) then TargetUnitsPet("party1"); else TargetUnit("party1"); end;