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 === Action === These functions are those which operate with the action buttons. See [[#Activity]] section for general player actions. :PROTECTED UI {{id|API|ActionButtonDown}}(id) - Press the specified action button. (protected 2.0) :PROTECTED UI {{id|API|ActionButtonUp}}(id) - Release the specified action button. (protected 2.0) :{{id|API|ActionHasRange}}(slot) - Determine if the specified action is a range restriction [1 if yes, nil if no] :UI {{id|API|BonusActionButtonDown}} - Trigger the specified bonus(pet or minion) action button. :UI {{id|API|BonusActionButtonUp}} - Release the specified bonus(pet or minion) action button. :PROTECTED {{id|API|CameraOrSelectOrMoveStart}}() - Begin "Left click" in the 3D world. (protected 1.10) :PROTECTED {{id|API|CameraOrSelectOrMoveStop}}([stickyFlag]) - End "Left click" in the 3D world. (protected 1.10) :NOCOMBAT {{id|API|ChangeActionBarPage}}(page) - Changes the current action bar page. :{{id|API|GetActionBarPage}}() - Return the current action bar page. CURRENT_ACTIONBAR_PAGE is obsolete. :{{id|API|GetActionBarToggles}}() - Return the toggles for each action bar. :{{id|API|GetActionCooldown}}(slot) - This returns the cooldown values of the specified action.. :{{id|API|GetActionCount}}(slot) - Get the count (bandage/potion/etc) for an action, returns 0 if none or not applicable. :{{id|API|GetActionInfo}}(slot) - Returns type, id, subtype. :{{id|API|GetActionText}}(slot) - Get the text label (macros, etc) for an action, returns nil if none. :{{id|API|GetActionTexture}}(slot) - Gets the texture path for the specified action. :{{id|API|GetBonusBarOffset}}() - Determine which page of bonus actions to show. :{{id|API|GetMouseButtonClicked}}() - Returns the name of the button that triggered a mouse down/up/click/doubleclick event. (added 2.0.3) :{{id|API|GetMultiCastBarOffset}}() - Returns the page offset of the multicast action IDs (added 3.2) :{{id|API|GetPossessInfo}}(index) - Returns texture, name, enabled. :{{id|API|HasAction}}(slot) - Returns 1 if the player has an action in the specified slot, nil otherwise. :{{id|API|IsActionInRange}}(slot,[unit]) - Test if an action is in range (1=yes, 0=no, nil=not applicable). :{{id|API|IsAttackAction}}(slot) - Return 1 if an action is an 'attack' action (flashes during combat), nil otherwise. :{{id|API|IsAutoRepeatAction}}(slot) - Return 1 if an action is auto-repeating, nil otherwise. :{{id|API|IsCurrentAction}}(slot) - Return 1 if an action is the one currently underway, nil otherwise. :{{id|API|IsConsumableAction}}(slot) - Return 1 if an action is consumable (i.e. has a count), nil otherwise. :{{id|API|IsEquippedAction}}(slot) - Return 1 if an action is equipped (i.e. connected to an item that must be equipped), nil otherwise. :{{id|API|IsUsableAction}}(slot) - Return 1 if an action can be used at present, nil otherwise. :{{id|API|PetHasActionBar}}() - Determine if player has a pet with an action bar. :NOCOMBAT {{id|API|PickupAction}}(slot) - Drags an action out of the specified quickbar slot and holds it on the cursor. :NOCOMBAT {{id|API|PickupPetAction}}(slot) - Drags an action from the specified pet action bar slot into the cursor. :{{id|API|PlaceAction}}(slot) - Drops an action from the cursor into the specified quickbar slot. :{{id|API|SetActionBarToggles}}(show1,show2,show3,show4[, alwaysShow]) - Set show toggle for each action bar - 'alwaysShow' (added 1.12) :{{id|API|StopAttack}}() - Turns off auto-attack, if currently active. Has no effect is the player does not currently have auto-attack active. :PROTECTED {{id|API|TurnOrActionStart}}() - Begin "Right Click" in the 3D world. (protected 1.10) :PROTECTED {{id|API|TurnOrActionStop}}() - End "Right Click" in the 3D world. (protected 1.10) :PROTECTED {{id|API|UseAction}}(slot[, checkCursor[, onSelf]]) - This instructs the interface to use the action associated with the specified ID, optionally on the player, regardless of target. (protected 2.0) 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