Wowpedia

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

READ MORE

Wowpedia
Advertisement

Expands/collapses a quest log header.

ExpandQuestHeader(index [, isAuto])
CollapseQuestHeader(index [, isAuto])

Arguments[]

index
number - Position in the quest log from 1 at the top, including collapsed and invisible content.
isAuto
boolean - Used when resetting the quest log to a default state.

Details[]

  • Applies to all headers when the index does not point to a header, inluding out-of-range values like 0.
  • Fires QUEST_LOG_UPDATE. Toggle QuestMapFrame.ignoreQuestLogUpdate to supress the normal event handler.

Example[]

Expand all quest headers:

ExpandQuestHeader(0)


Collapse the first quest header (always at position 1) while suppressing the normal event handler:

QuestMapFrame.ignoreQuestLogUpdate = true
CollapseQuestHeader(1)
QuestMapFrame.ignoreQuestLogUpdate = nil

Patch changes[]

Legion Patch 7.0.3 (2016-07-19): Added isAuto optional argument.[1]

See also[]

  • QuestMapFrame_ResetFilters() - FrameXML function to restore the default expanded/collapsed state. {QuestMapFrame_ResetFilters at Townlong-YakQuestMapFrame_ResetFilters at GitHub}

References[]

 
  1. ^ 2016-07-19, QuestMapFrame.lua, version 7.0.3.22267, near line 212, archived at Townlong-Yak
Advertisement