Wowpedia

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

READ MORE

Wowpedia
No edit summary
DungFu (talk | contribs)
mNo edit summary
Tag: WoW API docs
Line 2: Line 2:
 
Returns the material string associated with the particular quest. The material string is non-nil if this quest uses a custom texture other than the default "Parchment" texture.
 
Returns the material string associated with the particular quest. The material string is non-nil if this quest uses a custom texture other than the default "Parchment" texture.
   
GetQuestBackgroundMaterial();
+
material = GetQuestBackgroundMaterial();
   
 
----
 
----
Line 12: Line 12:
 
;''Returns''
 
;''Returns''
   
 
:;material : String : The material string for this quest, or nil if the default, "Parchment", is to be used.
:String material
 
 
:;material : The material string for this quest, or nil if the default, "Parchment", is to be used.
 
   
 
----
 
----

Revision as of 00:11, 27 April 2020

Returns the material string associated with the particular quest. The material string is non-nil if this quest uses a custom texture other than the default "Parchment" texture.

material = GetQuestBackgroundMaterial();

Arguments
none

Returns
material
String : The material string for this quest, or nil if the default, "Parchment", is to be used.

Example
local material = GetQuestBackgroundMaterial();
Result
nil -- This quest uses the default material, "Parchment"

Description
Returns the material string associated with the particular quest.
This texture is used to paint the background of the Blizzard Quest Frame. It does not appear in the Quest Log, but only when initially reading, accepting or handing in the quest.