WoW:API ExpandQuestHeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (__NOTOC__)
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 16:50, 6 June 2007

WoW API < ExpandQuestHeader

Expands the quest header.

ExpandQuestHeader(questID);

Parameters

Arguments

questID
Integer - The index of the header you wish to expand.

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.