WeaponButtons
From WoWWiki
Contents |
WeaponButtons Introduction
WeaponButtons is an AddOn which allows you to quickly change weapons. It does this by providing you with a small, draggable window that contains two buttons which act to a big degree like your main hand and off hand does in the paper doll page.
You can set it up to a certain extent, preventing tooltips from popping up and locking its position.
Slash Commands
The only slash command is the main one that controls the AddOn whether the window is shown or not. This is equal to all options in the "WeaponButtons" section in the Cosmos option menu.
Enable/disable WeaponButtons
/weaponbuttons, /weaponbutton or /wb [show] [on|off|toggle]
If invoked with no parameters, it will toggle the current state of WeaponButtons, which is also the same behaviour it does with -1 or toggle as parameters. If it gets sent 0 or off as parameters, it will disable the WeaponButtons and hide it. If it gets sent 1 or on as parameters, it will enable the WeaponButtons and show it.
Enable/disable the tooltips
/weaponbuttons, /weaponbutton or /wb tooltips [on|off|toggle]
If invoked with no parameters, it will toggle whether tooltips are shown or not, which is also the same behaviour it does with -1 or toggle as parameters. If it gets sent 0 or off as parameters, it will disable the tooltips, preventing them from being shown. If it gets sent 1 or on as parameters, it will disable the tooltips, allowing them to be shown.
Lock/unlock the position
/weaponbuttons, /weaponbutton or /wb lock [on|off|toggle]
If invoked with no parameters, it will toggle whether it is locked in its current position or not, which is also the same behaviour it does with -1 or toggle as parameters. If it gets sent 0 or off as parameters, it will lock itself to its current position. If it gets sent 1 or on as parameters, it will unlock itself from its current position.
Set default mode
/weaponbuttons, /weaponbutton or /wb mode [on|off|toggle]
If invoked with no parameters, it will toggle whether ranged is the default mode (and switch to ranged mode as well) or whether melee mode is the default mode (and will switch to melee mode too). If it gets sent 0 or off as parameters, it will set itself to melee mode by default. If it gets sent 1 or on as parameters, it will set itself to ranged mode by default.
Cycle through modes
/weaponbuttons, /weaponbutton or /wb togglemode
Will cycle through all modes. It goes in order, Melee to Ranged to Trinket to Melee.
Modes
WeaponButtons have three modes. Each mode has two buttons which correspond to two equipped items.
Melee Mode
This mode contains the Main Hand and the Off Hand item slots.
Ranged Mode
This mode contains the Ranged and the Ammo item slots.
Trinket Mode
This mode contains the two Trinket item slots.
Key Bindings
- Weapon Buttons Toggle
- Toggles the WeaponButtons, showing and hiding it.
- Cycle WeaponButtons
- Cycles the WeaponButtons mode.
Dependencies
Currently, WeaponButtons is optionally dependent on Cosmos. It uses Cosmos for the option menus and some other goodies, but nothing truly central.
Dropped from the Cosmos package post-WoW 2.0 [1], current version 0.14 available from the URL below.
Standalone URL
This was originally made as a standalone AddOn, which was compatible with Cosmos, located here : http://www.fukt.bth.se/~k/wow/scripts/WeaponButtons/
Hopefully, that place will be kept updated if (and when) changes are introduced in the Cosmos version.
