Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (External link fix)
 
No edit summary
 
Line 1: Line 1:
  +
{{wowapi}}
<onlyinclude>{{{{{tpl|tooltip}}}
 
  +
Returns the information about glyphs
|mode={{{mode|}}}
 
  +
name, glyphType, isKnown, icon, castSpell = GetGlyphInfo(index)
|arg={{{arg|}}}
 
|icon=INV_Trinket_Naxxramas06
 
|name=The Greatmother's Soulcatcher
 
|quality=Common
 
|qitem=Yes
 
|unique=1
 
|effect=Use: Target and inject a dead Fizzcrank Mechagnome so that their soul will be freed.
 
|cooldown=5 seconds
 
}}</onlyinclude>
 
   
  +
== Parameters ==
This item is given to the player upon acceptance of the [[quest]] {{questlong|Horde|71|Souls of the Decursed}}, which begins with [[Greatmother Taiga]] at [[Taunka'le Village]] in west [[Borean Tundra]].
 
  +
:;index : Integer - Index of glyph as is shown in the glyph panel. For example: Druid 2=Berserk, 3=Insect swarm etc.
 
  +
=== Returns ===
To complete the quest the soulcatcher must be used on ten [[Fizzcrank Mechagnome]]s which have been slain by the player or their party. The Mechagnomes can be found in the northern half of the [[Geyser Fields]].
 
  +
:;name : String - The name of the glyph or "header" if a header
 
  +
:;glyphType : Integer - Type of the glyph (1 - Primal, 2 - Major, 3 - Minor)
== External links ==
 
  +
:;isKnown : Boolean - True if the player has learned the glyph in question or a filter index if a header ( 1 - Primal, 2 - Major, 4 - Minor )
<!-- Read http://www.wowpedia.org/Wowpedia:External_links before posting your links here.
 
  +
:;icon : Texture for glyph button widget or nil if a header
Links that do not conform to the rules will be DELETED.
 
  +
:; castSpell : Integer - ID of the spell cast by clicking the glyph button or nil if a header
Repeat violations may result in a BAN.
 
  +
== Related Functions ==
Have a nice day. :) -->
 
  +
:; {{api|IsGlyphFlagSet}}(isKnown) : Returns false if header is collapsed and true if expanded
{{Elinks-item|35401}}
 
  +
:; {{api|ToggleGlyphFilter}}(isKnown) : Toggles the expand and collapse state of the header
 
[[Category:World of Warcraft common quest items]]
 

Revision as of 19:09, 6 February 2011

Returns the information about glyphs

name, glyphType, isKnown, icon, castSpell = GetGlyphInfo(index)

Parameters

index
Integer - Index of glyph as is shown in the glyph panel. For example: Druid 2=Berserk, 3=Insect swarm etc.

Returns

name
String - The name of the glyph or "header" if a header
glyphType
Integer - Type of the glyph (1 - Primal, 2 - Major, 3 - Minor)
isKnown
Boolean - True if the player has learned the glyph in question or a filter index if a header ( 1 - Primal, 2 - Major, 4 - Minor )
icon
Texture for glyph button widget or nil if a header
castSpell
Integer - ID of the spell cast by clicking the glyph button or nil if a header

Related Functions

IsGlyphFlagSet(isKnown)
Returns false if header is collapsed and true if expanded
ToggleGlyphFilter(isKnown)
Toggles the expand and collapse state of the header