FANDOM


m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  +
{{wowapi}}
<center>'''GetQuestBackgroundMaterial''' ''-Documentation by AlexanderYoshi-''</center>
 
  +
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.
 
   
 
GetQuestBackgroundMaterial();
 
GetQuestBackgroundMaterial();
Line 13: Line 12:
 
;''Returns''
 
;''Returns''
   
:String questStory
+
:String material
   
:;questStory : The material string for this quest
+
:;material : The material string for this quest, or nil if the default, "Parchment", is to be used.
   
 
----
 
----
 
;''Example''
 
;''Example''
local questStory = GetQuestBackgroundMaterial();
+
local material = GetQuestBackgroundMaterial();
   
 
;''Result''
 
;''Result''
  +
nil -- This quest uses the default material, "Parchment"
"Arr matey. You need to go find Captain Sander's treasure..."
 
   
 
----
 
----
Line 28: Line 27:
   
 
: Returns the material string associated with the particular quest.
 
: 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.
 
----
 
{{Template:WoW API}}
 
[[Category:API Functions|GetQuestBackgroundMaterial]]
 
[[Category:API Quest Functions|GetQuestBackgroundMaterial]]
 

Latest revision as of 18:27, July 11, 2007

WoW API < GetQuestBackgroundMaterial

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();

Arguments
none

Returns
String material
material 
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.
Community content is available under CC-BY-SA unless otherwise noted.