gmMounts

Companions Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 16 Monthly Downloads
  • Supports: 7.2.0
  • 1,554 Total Downloads
  • Updated Mar 28, 2017
  • Created Nov 15, 2012
  • 3 Favorites
  • Project Site
  • Release Type: Release
  • License: BSD License
  • Newest File: 720-2017032801

About gmMounts

gmMounts
(previously known as MountRndCat)

This is a tiny addon that let you define custom categories and then random summon a mount from them.

To use the addon you FIRST need to rename the file categories-sample.lua to categories.lua in the addon directory and edit it with the names of your favorite mounts.

If you modify the categories.lua file while the game client is active you have to reload the game interface with command:

Quote:

/reload

Usage:

Create a macro like this to summon your mounts:

Quote:

/gmm [btn:2] flying ; [btn:3] repair ; [swimming] ground ; [mod:shift] funny ; [mod:alt] favorites!; all!

or simply use the command from the cli, i.e.:

Quote:

/gmm - This help
/gmm category - Summon a random mount from your 'category' list
/gmm favorites! - Summon a random mount from your favorite list
/gmm all! - Summon a random mount

The categories are shared on all characters on the same account.

Here is a categories.lua suitable for alliance players (english client):

[highlight="Lua"]
gmMounts_tbl = {

flying = {
"Swift Green Gryphon",
"Swift Blue Gryphon",
"Swift Red Gryphon",
},

ground = {
"Swift Mistsaber",
"Swift Moonsaber",
},

repair = {
"Traveler's Tundra Mammoth",
"Grand Expedition Yak",
},

funny = {
"Azure Water Strider",
"Sea Turtle",

},

combo = {
"Sandstone Drake",
"Mekgineer's Chopper",
},


- add your custom categories here
}
[/highlight]

N.B. Please remember to backup your custom categories.lua before updating.

I also whish to thanks SDPhantom and Phanx for their help, code and suggestions that help me so much in understanding and writing my first addon

If you have anything to ask / comment / request please use:
http://www.wowinterface.com/downloads/info24023-gmMounts.html

v720-2017032801
- bump toc

v1.0-2016102601
- bump toc

v1.0-2016070501
- changed name and references to gmMounts
- bump toc for 7.0
- used the new C_MountJournal functions

--- Previous changes of MountRndCat

v1.0-2015101801
- fixed a bug where a mount with the same name but with 2 ids can't be summoned (thanks to Phanx for the input and ideas)
- add the default category " favorites! " which randomly summon a mount from the favorites.
Basically it is the same of the "Summon Random Favorite Mount" spell, but I need it to use in a macro.
To do it you can also use a simple:

C_MountJournal.Summon(0)

but I found it acts more as a switch than a summon.
So you press once it summon a random favorite you press twice it dismiss.
I have to check it better.

- add the default category " all! " which randomly summon a mount
- fix the code to prevent to summon the active mount

v1.0-2015062401
- bump toc for 6.2

v1.0-2015022501
-bump toc for 6.1

v1.0-2014101501
- bump toc for 6.0
- migrate to C_MountJournal API

v1.0-2013091001
- bump toc for 5.4

v1.0-2013052101
- bump toc for 5.3

v1.0-2013030401
- bump toc

v1.0-2015062401
- bump toc for 6.2

v1.0-2015022501
-bump toc for 6.1

v1.0-2014101501
- bump toc for 6.0
- migrate to C_MountJournal API

v1.0-2013091001
- bump toc for 5.4

v1.0-2013052101
- bump toc for 5.3

v1.0-2013030401
- bump toc

  • 1
  • 2
  • Next