WoW API: GetQuestBackgroundMaterial

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetQuestBackgroundMaterial to API GetQuestBackgroundMaterial without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.