WoW:API TargetUnitsPet: Difference between revisions

m
{{wowapi}}
(use removedapi template)
m ({{wowapi}})
Line 1: Line 1:
{{Removedapi|1.6.0|Use [[API TargetUnit|TargetUnit("unitpet")]] instead.}}
{{wowapi}}
 
{{removedapi|1.6.0|Use [[API TargetUnit|TargetUnit("unitpet")]] instead.}}
<center>'''TargetUnitsPet''' </center>
Targets the specified unit's pet. If no such pet exists, the target will remain unchanged.
 
  TargetUnitsPet("unit");
  TargetUnitsPet("unit");
Targets the specified unit's pet. If no such pet exists, the target will remain unchanged.


----
----
;''Arguments''
;''Arguments''


:("unit")
:


:;unit : String - The [[API TYPE UnitId|UnitId]] of the owner of the pet you wish to target.
:;unit : String - The [[API TYPE UnitId|UnitId]] of the owner of the pet you wish to target.
Line 32: Line 29:
   TargetUnit("party1");
   TargetUnit("party1");
  end;
  end;
----
{{WoW API}}