Wowpedia

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

READ MORE

Wowpedia
(format, +example-result)
m (added questID 0 = expand all headers)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
+
{{wowapi}} __NOTOC__
 
Expands the quest header.
 
Expands the quest header.
 
ExpandQuestHeader(questID);
 
ExpandQuestHeader(questID);
Line 5: Line 5:
 
==Parameters==
 
==Parameters==
 
===Arguments===
 
===Arguments===
:;questID : Integer - The index of the header you wish to expand.
+
:;questID : Integer - The index of the header you wish to expand. - 0 to expand all quest headers
   
 
==Example==
 
==Example==
Line 11: Line 11:
 
===Result===
 
===Result===
 
Expands the first quest header (questID = 1 is always yields a header if you have quests) if it was collapsed; if not, does nothing.
 
Expands the first quest header (questID = 1 is always yields a header if you have quests) if it was collapsed; if not, does nothing.
  +
Also fires a QUEST_LOG_UPDATE event so be careful when calling this while processing a QUEST_LOG_UPDATE event.

Revision as of 19:55, 1 January 2009

Expands the quest header.

ExpandQuestHeader(questID);

Parameters

Arguments

questID
Integer - The index of the header you wish to expand. - 0 to expand all quest headers

Example

ExpandQuestHeader(1);

Result

Expands the first quest header (questID = 1 is always yields a header if you have quests) if it was collapsed; if not, does nothing. Also fires a QUEST_LOG_UPDATE event so be careful when calling this while processing a QUEST_LOG_UPDATE event.