WoW:API PetRename: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(added info on /script command)
 
m (Move page script moved page API PetRename to API PetRename without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Renames your pet with the name specified.<br>
{{wowapi}} __NOTOC__
<pre>
 
PetRename("name");
 
</pre>
Renames your pet.
PetRename("name")
 
 
== Arguments ==
:;name : String - The new name of the pet
 
 
== Returns ==
:nil
 
 
== Details ==
: Only hunters can rename their pets.
: Each pet can be renamed once. Using this function when the pet has already been renamed results in an error message.

Latest revision as of 04:47, 15 August 2023

WoW API < PetRename


Renames your pet.

PetRename("name")


Arguments[edit]

name
String - The new name of the pet


Returns[edit]

nil


Details[edit]

Only hunters can rename their pets.
Each pet can be renamed once. Using this function when the pet has already been renamed results in an error message.