About: API GameTooltip SetAction   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Shows the tooltip for the specified action button. Arguments (slot) slot : integer - id of the action button to load the tooltip for. Returns The function returns nothing, but the text in the displayed tooltip can be accessed with GameTooltipTextLeftN:GetText() and GameTooltipTextRightN:GetText(), where N is the line number. Example GameTooltip:SetAction(1); Details The term 'slot' is a bit misleading... it's really the id of the action button, where 1..12 are the first page, 13..24 are the second page, and so on up to 72 for the normally accessible pages 1-6. The bonus bars that appear for a warrior's stances, a druid's shapeshifts, and when a rogue is stealthed take up higher numbered ids, and some addons make use of otherwise unused ids as well (up to a maximum

AttributesValues
rdfs:label
  • API GameTooltip SetAction
rdfs:comment
  • Shows the tooltip for the specified action button. Arguments (slot) slot : integer - id of the action button to load the tooltip for. Returns The function returns nothing, but the text in the displayed tooltip can be accessed with GameTooltipTextLeftN:GetText() and GameTooltipTextRightN:GetText(), where N is the line number. Example GameTooltip:SetAction(1); Details The term 'slot' is a bit misleading... it's really the id of the action button, where 1..12 are the first page, 13..24 are the second page, and so on up to 72 for the normally accessible pages 1-6. The bonus bars that appear for a warrior's stances, a druid's shapeshifts, and when a rogue is stealthed take up higher numbered ids, and some addons make use of otherwise unused ids as well (up to a maximum
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • Shows the tooltip for the specified action button. Arguments (slot) slot : integer - id of the action button to load the tooltip for. Returns The function returns nothing, but the text in the displayed tooltip can be accessed with GameTooltipTextLeftN:GetText() and GameTooltipTextRightN:GetText(), where N is the line number. Example GameTooltip:SetAction(1); Details The term 'slot' is a bit misleading... it's really the id of the action button, where 1..12 are the first page, 13..24 are the second page, and so on up to 72 for the normally accessible pages 1-6. The bonus bars that appear for a warrior's stances, a druid's shapeshifts, and when a rogue is stealthed take up higher numbered ids, and some addons make use of otherwise unused ids as well (up to a maximum ID of 120). Note that for accessing the pet bar or aura bar you need to use SetPetAction or SetShapeshift. Beware of using, for example, ActionButton1:GetID(); This would return 1, no matter what page your action bar is on. The WoW function CURRENT_ACTIONBAR_PAGE may be of use to you if you want to do something like this, or if you have the button object already, ActionButton_GetPagedID(button).
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software