# 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`

  Valid numbers: integers from -2,147,483,647 to 2,147,483,647.

`boolean returnReagent (false)`
  See method description.

## Returns

Nothing.

# Keyboard shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

# Search tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct` (or `str`), `enum`, `trait`, `typedef` (or `tdef`).

Generated on
© 2010 - 2024 Eluna Lua Engine