WoW API: ExpandQuestHeader

From AddOn Studio
Revision as of 19:55, 1 January 2009 by WoWWiki>Luke1410 (added questID 0 = expand all headers)
Jump to navigation Jump to search

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.