WoW:API PetCanBeAbandoned: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m ({{wowapi}})
Line 1: Line 1:
<center>'''PetCanBeAbandoned''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Retuns true if the pet is abandonable.
Retuns true if the pet is abandonable.


Line 22: Line 21:
;''Result''
;''Result''
  true | false
  true | false
----
;''Description''
: Retuns true if the pet is abandonable.
----
{{WoW API}}

Revision as of 12:21, 18 June 2006

WoW API < PetCanBeAbandoned

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