Sign in to follow this  
Followers 0

Random Mount Macro

2 posts in this topic

Do you have a horde of mounts to boast? Are the majority of them rotting in your bags unused because you are too lazy to drag them on your bars? Don't you have enough bars?

FEAR NOT! For here's an answer!

A random mount macro a guildie of mine dug up from the depths of the interwebs!

/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=2,GetNumCompanions(m) do tinsert(t[,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end

This command line will dig up a random mount from your pet journal. If you're already mounted it dismounts you. It is also smart enough to browse only flying mounts when in a fly zone, and only ground mounts when in a no-fly zone, such as the Isle of Thunder.

The only fault it tends to be guilty of is trying to mount Cloud Serpents even if you don't have the Cloud Serpent Riding skill. (I don't know if this holds true to i.e. the Tailor exclusive carpets.)

Anyhoo. Go nuts!

Share this post

Link to post
Share on other sites

Aaaaand my apologies. This was supposed to go to the off-topic section. :/

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Kirom
      Hi all. I've lost my macro for auto targeting enemy which is in radius of sap and then sap him. Can someone post it pls?
      P.s. sry for my mby bad English.
    • By Everth
      Hi guys, sorry to ask but haven't found anything similar on this forum!
      I've tried to do /startattack /cast spell macros but the autoattack only starts after the ability ends. This bothers me more than it should cause i have to right click every single target if i dont want to miss that juicy marking targets proc. So far i've tried
      /cast Auto Attack /startattack /cast Barrage /startattack /cast Barrage /startattack /stopcasting /cast Barrage /targetenemy /startattack /cast Barrage /startattack /cast [talent:6/1] A Murder of Crows; [talent:6/2] Barrage /startattack /cast [nochanneling] Barrage In all these cases the macro starts off with barrage and then after the channel begins autoattacking (i've verified using a swing addon i desperately tried to find).
      The same thing applies, with more consequences, with Sidewinders. Might it be cause they are "talent" spells and not normal ones? Is this a bug? How do you behave? Thank you in advance
    • By Sweetsour
      Hello Shamans!
      I figured I'd share this bit of info for those who don't already know about any of this.
      I've been using a mount addon for several years now called "LiteMount". It's similar to Blizzard's recently implemented "favorite" system in their mount page. However, this addon also allows you to dictate which mounts you want to use for flying, swimming, and/or running. Going a step further, it also automatically puts you in ghost wolf if you're in a scenario in which you can't mount (indoors, not standing still, etc).
      How this addon works when you have it installed and WoW loaded, you just have to type "/litemount macro", then an action button will appear on your cursor that you can place on your action bars.
      To achieve "auto" water walking, you just need to make a small tweak to the macro. Type "/macro" to get started. Next, find the macro in question and at the bottom of the macro, type "/cast Water Walking".
      What this will do is put water walking on you when you dismount. Ideally, it would be nice to put water walking on you before you mount, but if you use the ghost wolf feature in this addon, this won't be possible as they share GCDs (where mounting doesn't). So the next best thing is casting it on you as you dismount. This way you pretty much almost always have water walking on, and refreshing it on the run is as simple as changing in and out of ghost wolf :)
    • By durdyenglish
      I looked around for, couldn't find, and eventually wrote a macro to help prevent wasting Bestial Wrath. It checks your pet status before allowing the buff to be used, either calling your pet if it is not summoned or casting revive pet if summoned but dead. If your pet is both alive and summoned, the macro will engage Bestial Wrath. It will not engage the cooldown without both conditions being met.

      #showtooltip Bestial Wrath
      /use [nopet] Call Pet #
      /cast [@pet,exists,nodead] Bestial Wrath; Revive Pet

      Make sure you change the # in the macro to whichever pet you would like the macro to use (either 1-5).
      This also prevents you from accidentally casting bestial wrath in that weird transition between being mounted and not where you pet it returning. I know it has saved me some frustration already.
    • By Shine
      Ok so I used to have this macro running that would automatically mount me after mining something. i am fairly sure it worked for hermalism, and normal loot pickup aswell.
      I tried running it but it didnt do anything so Im guessing the code is somehow outdated.
      Is there any macro king out there gonna help me get this working again?
      While we're on the subject, might aswell look into it not only mounting me on the same mount each time, but summoning mounts through the random favorite mount function.
      I am not entirely sure if this post is in the right subforum. (figured its either this or "UI".)
      Thx ahead for any advice