WoW:API PetCanBeAbandoned: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Formatting and categorization)
mNo edit summary
Line 30: Line 30:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|PetCanBeAbandoned]]
[[Category:API Pet Functions|PetCanBeAbandoned]]
[[Category:API Pet Functions|PetCanBeAbandoned]]

Revision as of 12:29, 30 August 2005

PetCanBeAbandoned -Documentation by AlexanderYoshi-

Retuns true if the pet is abandonable.

canAbandon = PetCanBeAbandoned();

Arguments
none

Returns
canAbandon
canAbandon
Boolean - true if the player's pet can be abandoned.

Example
 if ( PetCanBeAbandoned() ) then AbandonPet(); end
Result
true | false

Description
Retuns true if the pet is abandonable.

Template:WoW API