WoW:API OpenAllBags: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
 
(add wowapi tag)
Line 1: Line 1:
=== Fonction ===
{{wowapi}}
=== Function ===
''OpenAllBags(Parameter);''
''OpenAllBags(Parameter);''
----
----
Line 16: Line 17:
<br>
<br>
:: ''/script [[API_ToggleBag|ToggleBag]](''quiver position number'');''
:: ''/script [[API_ToggleBag|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.<br>I could'nt find anyway around yet.
to the macro but unfortunately, when you will use the macro again, it will close all bags BUT open the quiver.<br>I couldn't find anyway around yet.

Revision as of 19:44, 9 February 2007

WoW API < OpenAllBags

Function

OpenAllBags(Parameter);


Parameters

true
Opens all bags including the quiver.
false
Opens no bags. Obiviously useless :P
nil
Leaving the ( ) empty will enable the toggle fonction of the macro.

Details

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.