Muert39620@legacy41559547 (talk | contribs) No edit summary |
Davidc13219@legacy41534226 (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{wowapi}} |
||
− | <center>'''PetCanBeAbandoned''' ''-Documentation by AlexanderYoshi-''</center> |
||
− | |||
Retuns true if the pet is abandonable. |
Retuns true if the pet is abandonable. |
||
Line 18: | Line 17: | ||
---- |
---- |
||
;''Example'' |
;''Example'' |
||
− | if ( PetCanBeAbandoned() ) then |
+ | if ( PetCanBeAbandoned() ) then PetAbandon(); end |
;''Result'' |
;''Result'' |
||
true | false |
true | false |
||
− | |||
− | ---- |
||
− | ;''Description'' |
||
− | |||
− | : Retuns true if the pet is abandonable. |
||
− | |||
− | ---- |
||
− | {{WoW API}} |
Revision as of 17:57, 21 November 2006
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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 PetAbandon(); end
- Result
true | false