World of Warcraft Wiki

Editing

API GetQuestBackgroundMaterial

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that…
Latest revision Your text
Line 1: Line 1:
 
{{wowapi}}
 
{{wowapi}}
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 12: Line 12:
 
;''Returns''
 
;''Returns''
   
:String material
+
:String questStory
   
:;material : The material string for this quest, or nil if the default, "Parchment", is to be used.
+
:;questStory : The material string for this quest
   
 
----
 
----
 
;''Example''
 
;''Example''
local material = GetQuestBackgroundMaterial();
+
local questStory = GetQuestBackgroundMaterial();
   
 
;''Result''
 
;''Result''
nil -- This quest uses the default material, "Parchment"
+
"Arr matey. You need to go find Captain Sander's treasure..."
   
 
----
 
----
Line 27: 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.
 
  Loading editor

Useful Editing Links
New users → WoWWiki FAQ • Quick help → editing quickref
Upload images to the wiki • Reference and cite your sources
Check out the Manual of Style
Always follow the WoWWiki policies and guidelines!
Icon-warning-22x22 Do not submit copyrighted images or text without permission! Please note:
  • For testing, please use the sandbox instead.
  • If you don't want your writing to be edited mercilessly or redistributed by others, do not submit it.
  • You are promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
  • Only public domain resources can be copied without permission - this does not include the vast majority of web pages or images.
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.