Fandom

WoWWiki

API OpenAllBags

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.


WoW API < OpenAllBags
Icon-information-22x22This function is implemented by FrameXML in [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/ContainerFrame.lua FrameXML/ContainerFrame.lua].
WoW API < OpenAllBags

Function Edit

OpenAllBags(forceOpen);


Parameters Edit

([forceOpen])
nil 
Leaving the ( ) empty will enable the toggle function of the macro.
Note: This will close all of your bags if they're all open. If you want to open all of your bags and keep them open when the event fires a second time while the bags are still open, call OpenAllBags(true)
true 
Opens all bags including the quiver.
false 
Does the same thing as nil.

Details Edit

  • I use this in a simple macro that quickly opens all bags. This is useful since when activated, it will open the remnant bags that did not opened when talking to a vendor or opening your bank account without closing the backpack.
/script OpenAllBags();
  • It also opens the quiver. To override this, you can add
/script ToggleBag(quiver position number);

to the macro but unfortunately, when you will use the macro again, it will close all bags BUT open the quiver.
I couldn't find anyway around yet.

  • This function does not open the Key Ring.

Also on Fandom

Random Wiki