Method Player:RemovePet [-] [+]
Removes the Player's active pet.
Save mode | ID | Comment |
---|---|---|
PET_SAVE_AS_DELETED | -1 | Not saved |
PET_SAVE_AS_CURRENT | 0 | In current slot (with the player) |
PET_SAVE_FIRST_STABLE_SLOT | 1 | |
PET_SAVE_SECOND_STABLE_SLOT | 2 | |
PET_SAVE_THIRD_STABLE_SLOT | 3 | |
PET_SAVE_LAST_STABLE_SLOT | 4 |
Synopsis
Player:RemovePet( saveMode )
Player:RemovePet( saveMode, returnReagent )
Arguments
number saveMode (-1)
Valid numbers: integers from -2,147,483,647 to 2,147,483,647.
boolean returnReagent (false)
- See method description.
Returns
Nothing.