WARNING: In BfA, an error will occur if a file listed in the TOC does not exist to load. As such, this addon has been updated with a pre-existing, empty ignore.lua file. IF YOU HAVE ALREADY CREATED AN ignore.lua FILE, YOU WILL NEED TO BACK IT UP OR IT WILL BE OVERWRITTEN.
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.
You can have an ignore list - see the INSTRUCTIONS for ignoring mounts and companions.txt file for details.
Note: the game now provides feedback on if a mount is usable by your character or not. sCompanions will no longer attempt to summon a mount that you cannot use.
There is no current support for aquatic mounts.
Question #1: How could I put all of these in one macro?
The following script will use sCompanions' slash commands depending on which modifier is held. Shift for ground, Control for a pet, and normal for air.
Code:
/run local f=hash_SlashCmdList["/SCOMPANIONS"] if IsShiftKeyDown() then f("ground") elseif IsControlKeyDown() then f("pet") else f("air") end
Question #2: I don't like this mount/pet - how can I make sCompanions ignore it?
As mentioned, read the "INSTRUCTIONS for ignoring mounts and companions.txt" file, added with version 1.2, for info on how to do this.
Question #3: Why doesn't this work with Running Wild?
Running Wild (the Worgen "mount") works as a spell and is not part of the companions interface. On my Worgen, before I got a regular mount, I added /cast Running Wild to the top of my /sCompanions_ground macro. This uses Running Wild on my Worgen, but the sCompanions command on the other characters. ("Mount" spells may be supported in a future version.)
Question #4: How can I add my seahorse to one of the macros?
There are two choices - you can use a modifier, or you can check to see if you're swimming.
Code:
/cast [mod] Abyssal Seahorse
/stopmacro [mod]
/scompanions air
Code:
/cast [swimming] Abyssal Seahorse
/stopmacro [swimming]
/scompanions air
Question #4: How can I use Travel Form if I'm in combat instead of a ground mount?
You'd follow the basic example of the above macro.
Code:
/cast [combat] Travel Form
/stopmacro [combat]
/scompanions ground