1
0
EQ2Emu/docs/lua_functions/DismissPet.md
2025-05-13 22:57:49 -04:00

407 B
Raw Blame History

Function: DismissPet(Spawn)

Description: Dismisses (despawns) the specified players active pet. This works for combat pets, cosmetic pets, deity pets, etc., causing them to vanish as if the player dismissed them manually.

Parameters:

Spawn: Spawn  The player whose pet should be dismissed.

Returns: None.

Example:

-- Example usage (dismissing a pet at the end of an event) DismissPet(Player)