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

14 lines
407 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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)