Change Log:
1.2.2
- fixed typo in file name of the ignore readme
- bumped interface number in the TOC for 4.3
- tweaked table structures to use local variables
- known bug (still): randomly, ground mounts get put into both tables, meaning that their big flags show that they can fly. A /reload fixes this.
1.2.1
- oops, removed some test code - you can summon your Core Hound Pup again if you didn't have an ignore list set up
1.2
- now uses new bit flags in API to identify mounts! No need to keep a list- air and ground mounts will automatically be determined.
- you can now have an ignore list (since it will now pick from all mounts rather than what you have listed) - see the INSTRUCTIONS for ingnoring mounts and companions.txt file for details
- you will no longer dismiss a pet by sCompanions selecting the same one that's already out - you'll get a new pet in that case
Description:
Version 1.2 - now smarter and more user friendly!!
sCompanions creates slash commands for flying mounts, ground mounts, and pets. These can then be placed into macros. (I use these with OPie, personally, having it use the flying mount macro as the default action for the ring.)
/scompanions ground
/scompanions air
/scompanions pet
Any of the above will select a mount or pet at random.
NOTE: WoW's API does not provide a way to determine whether a mount is a ground mount or flying mount. This addon does not keep an extensive database of mounts, either, to keep the file size down (Wowhead lists 290 different mounts currently). As such, you need to open up sCompanions.lua in any text editor in order to list the mounts you wish to use. This also allows you to exclude any mounts you don't wish the addon to choose from. There are two tables to fill:
This is no longer true! Changed in version 1.2:
- now uses new bit flags in API to identify mounts! No need to keep a list- air and ground mounts will automatically be determined.
- you can now have an ignore list (since it will now pick from all mounts rather than what you have listed) - see the INSTRUCTIONS for ingnoring mounts and companions.txt file for details
- you will no longer dismiss a pet by sCompanions selecting the same one that's already out - you'll get a new pet in that case
There is no current support for aquatic mounts, as there is only one so far (not counting the rare sea turtle gained from fishing) and it's only good in one zone, and that's if you've done the quests to obtain it.
Question #1: How could I put all of these in one macro?
The following script will use sCompanions' slash comm... |
|