WoW:API PetCanBeAbandoned: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 29: Line 29:


----
----
{{Template:WoW API}}
{{WoW API}}
[[Category:API Functions|PetCanBeAbandoned]]
[[Category:API Pet Functions|PetCanBeAbandoned]]

Revision as of 12:37, 4 January 2006

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