AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === Pet === :PROTECTED {{id|API|CastPetAction}}(index) - Cast the corresponding pet skill. :{{id|API|ClosePetStables}}() - Close the pet stables user interface. :{{id|API|DropItemOnUnit}}("[[unitId|unit]]") - Drops an item from the cursor onto a unit. :{{id|API|GetPetActionCooldown}}(index) - Returns cooldown information for the pet action at the specificed pet action bar slot. :{{id|API|GetPetActionInfo}}(index) - Returns information on the pet action at the specified pet action bar slot. :{{id|API|GetPetActionSlotUsable}}(slot) :{{id|API|GetPetActionsUsable}}() - Returns a value indicating if the player's pet's actions can be used at this time. :{{id|API|GetPetExperience}}() - Returns the pet's current xp, and total xp required for next level. :{{id|API|GetPetFoodTypes}}() - Returns a list of the food types the player's pet can eat. :{{id|API|GetPetHappiness}}() - Returns the pet's happiness, damage percentage, and loyalty gain rate. :{{id|API|GetPetIcon}}() - Returns the path to the texture to use as the icon for the player's pet. :{{id|API|GetPetTimeRemaining}}() - Returns in milliseconds about some timeout for the player's pet. :{{id|API|GetStablePetFoodTypes}}(index) - Returns a list of the food types a specific stabled pet can eat. :{{id|API|GetStablePetInfo}}(index) - Returns information about a specific stabled pet. :{{id|API|HasPetSpells}}() - Returns true if the player has pet spells. :{{id|API|HasPetUI}}() - Returns 1 if the player has a pet User Interface. :{{id|API|PetAbandon}}() - Permanently abandons your pet. :PROTECTED {{id|API|PetAggressiveMode}}() - Set your pet in aggressive mode. (protected 2.0) :PROTECTED {{id|API|PetAttack}}() - Instruct your pet to attack your target. (protected 2.0) :{{id|API|IsPetAttackActive}}() - Returns true if the pet is currently attacking. :{{id|API|PetStopAttack}}() - Stop the attack of the pet. :{{id|API|PetCanBeAbandoned}}() - Returns true if the pet is abandonable. :{{id|API|PetCanBeDismissed}}() :{{id|API|PetCanBeRenamed}}() - Returns true if the pet can be renamed. :PROTECTED {{id|API|PetDefensiveMode}}() - Set your pet in defensive mode. (protected 2.0) :{{id|API|PetDismiss}}() - Dismiss your pet. :PROTECTED {{id|API|PetFollow}}() - Instruct your pet to follow you. (protected 2.0) :{{id|API|PetHasActionBar}}() - Determine if player has a pet with an action bar. :PROTECTED {{id|API|PetPassiveMode}}() - Set your pet into passive mode. (protected 2.0) :{{id|API|PetRename}}("name") - Renames the pet. :PROTECTED {{id|API|PetWait}}() - Instruct your pet to remain still. (protected 2.0) :{{id|API|PickupPetAction}}(slot) - Drags an action from the specified pet action bar slot into the cursor. :{{id|API|PickupStablePet}}(index) :{{id|API|SetPetStablePaperdoll}}(modelObject) :PROTECTED {{id|API|TogglePetAutocast}}(index) - Toggles whether the specified pet ability should autocast or not. :PROTECTED {{id|API|ToggleSpellAutocast}}("spellName" | spellId, bookType) - Toggles whether the specified spell should autocast or not. :{{id|API|GetSpellAutocast}}("spellName" | spellId, bookType) - Check whether the specified spell autocasts or not. Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes