WoW:API ExpandQuestHeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (added questID 0 = expand all headers)
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==

Revision as of 19:55, 1 January 2009

WoW API < ExpandQuestHeader

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.