Mount macrosedit
From WoWWiki
| Macros |
|---|
| General guides |
|
Macros Beginners Guide |
| Useful macros (by class) |
Ground and Flying without Cold Weather Flying
Fly where possible without Cold Weather Flying
/run if IsMounted() and not IsFlying() then Dismount() return end local t if (GetCurrentMapContinent()==3) then t={2} else t={1,4} end CallCompanion("MOUNT",t[random(#t)])
If, you have not yet mastered Cold Weather Flying, this macro will only summon your flying mount in Outland. My flying mount is in slot 2 on the Mounts pane, while my two epic ground mounts are in slots 1 and 4. Replace these numbers as appropriate. (I have not found a function to show the continent you are currently in, only what continent the map shows. If you have just switched continent and this macro doesn't work as it should, a quick double-tap on the M-button should update your map, and fix it.)
- Validated: 3.2.0a
- Credit: Eldhannas of Wildhammer(EU)
Ground and Flying with Cold Weather Flying
Simple Ground and Flying mount macro with dismount
/cast [nomounted] Albino Drake /cast [nomounted] Dreadsteed /dismount [mounted]
Simply replace the names of the mounts with the names of your preferred flying and ground mount. As with most macros, spelling must be exact. This allows you to simply select from your collection of mounts using the name of the mount you want. The benefit is that you don't have to change the reference number of your mount every time you get a new one.
- Validated: 3.2.0
- Credit: Ozmodius of Runetotem (US)
Complex Ground and Flying mount macro with dismount
Right Click forces ground mount or dismounting while in flight
#showtooltip [flyable] Albino Drake; Great Red Elekk /use [nobutton:2, flyable, nomounted] Albino Drake;[nomounted] Great Red Elekk /cancelaura [noflying] [button:2] Albino Drake /cancelaura Great Red Elekk
Since the "flyable" condition was fixed for Dalaran in patch 3.0, the only place the old standby macros from the past will not work properly is Wintergrasp. If it weren't for the Wintergrasp problem, my addon [Mounty] would have no purpose at all and could be replaced by the above macro. I am not certain if the macro will take into account the conditions of Cold Weather Flying, which could give another use to [Mounty].
As with the previous macro; simply replace the names of the mounts with the names of your preferred flying and riding mount. Spelling must be exact, and I advise you highlight the current name and shift+click the mount icon from your mount frame. This will place the name of the mount into the macro. The only exception may possibly be with the "Bronze Drake Mount" as it is named in your mount list. You may need to put "Bronze Drake" in the macro instead of "Bronze Drake Mount".
Ground and Flying mount macro that will not dismount you when flying unless you hold alt
Replace the names of the mounts with the names of your preferred flying and ground mounts. Works everywhere, only dismounts when you are not flying or if you hold alt while flying, and has no errors. Requires Cold Weather Flying in Northrend. Remove the last line if you don't ever want to dismount when flying (It's annoying trying to land while racing another for a node.)
#showicon /use [flyable, nomounted] Swift Red Gryphon /use [noflyable, nomounted] Black War Steed /dismount [noflying, mounted] /dismount [mod:alt, mounted]
And you can take it further too. For a priest you can set mod:ctrl to not only dismount you but cast levitate (just replace with slow fall(mages) or some parachute (engineers)) (I think druids/rogues have some safe fall or something. Someone edit this if that's true please.
#showicon /use [flyable, nomounted] Swift Red Gryphon /use [noflyable, nomounted] Black War Steed /dismount [noflying, mounted] /dismount [mod:alt, mounted] /cast [mod:ctrl, target=player]Levitate
So now holding ctrl-alt while activating macro will dismount you even in air and then cast a safty spell so you don't go squish.
If you are in Northrend and don't have Cold Weather Flying, you can use this macro, but it will flash an error on the screen when mounting.
#showicon /use [flyable, nomounted] Ebon Gryphon /use [nomounted] Acherus Deathcharger /dismount [noflying, mounted]
- Validated: 3.2.0
- Credit: Sinful of Alleria (US)
Mount Macro for the right place and time
/run if IsMounted() then Dismount() return end local m if not IsFlyableArea() or (GetWintergraspWaitTime()==nil and GetZoneText()=="Wintergrasp") or IsSwimming() then m=(1) else m=(3) end CallCompanion("MOUNT",m)
- Validated: 3.2
- Focus: Universal
- This just checks to see whether the area your in is flyable or not, works for Dalaran depending if you are inside the city, then your ground mount will be selected or if you're on Krasus' landing then your flying mount since IsFlyableArea() works for this. IsFlyableArea() also works Wintergrasp, but when the battle for wintergrasp starts then it will check to see if you're in Wintergrasp and if the timer is 0, it will then select your ground mount if so, but if you're in Wintergrasp and the timer is not 0 then you will use your flying mount. Also added IsSwimming() if you decide to mount when in water, although if you have a underwater mount then you can change the macro tot he following to use your underwater mount.
/run if IsMounted() then Dismount() return end local m if not IsFlyableArea() or (GetWintergraspWaitTime()==nil and GetZoneText()=="Wintergrasp") then m=(1) else m=(3) end if IsSwimming() then m=(2) end CallCompanion("MOUNT",m)
- Replace the values of m=(1) to the slot of your ground mount and m=(3) to the slot of your flying Mount and if you have a swimming mount, m=(2) to the slot of your Swimming mount
- Note: this macro will dismount you in mid air. Use it wisely.
- By Ryarc of Sunstrider
Random-from-list Mount and Dismount 3.2
/castrandom [nomounted, flyable] Bronze Drake, Black Drake /castrandom [nomounted] Frostwolf Howler, Swift Green Hawkstrider, Black War Bear, Purple Skeletal Warhorse, Swift Orange Raptor /dismount /script VehicleExit()
- Validated: 3.2
- Focus: Universal
- Credit: Smiteness of Barthilas
- Use: This will fly if possible, and mount a grounded mount if possible, and if mounted OR in a vehicle, will get off. Works perfectly in Dalaran, Wintergrasp, Outlands and Old World. Aka everywhere.
- Replace: Simply add or remove mounts from the first line for flying mounts, and add or remove mounts from the second line for ground mounts.
- Note: This works on ANY character, WITH or WITHOUT Cold Weather flying. Also works with lazy people who don't wish to count their mount's specific placing and just put the name down. This may produce an error on use, but you will mount anyway so I doubt you will care.
Random Smart Mount
/run g,f={G,G,G},{F,F,F};z={["Dalaran"]=g,["Wintergrasp"]=g,["Krasus' Landing"]=f};f=z[GetSubZoneText()]or z[GetZoneText()]or(IsFlyableArea()and f)or g;z=(IsMounted()or CallCompanion("MOUNT",f[random(#f)]))and IsFlying()or Dismount()
- Validated: 3.2.0a
- Focus: Universal
- Credit: Xaeros of Shadowmoon, Faceeater of Nozdormu
- Use: When you are mounted the macro will dismount you (unless you are flying), when you are in any non-flyable zone (Kalimdor/Eastern Kingdoms/Dalaran/Wintergrasp) it will use your ground mount. When you can fly (anywhere else + Krasus' Landing in Dalaran) it will put you on a flying mount.
- Replace G with a ground mount, and F with a flying mount. To find your mount number, open your mounts tab and count from left-to-right, top-to-bottom. (eg: The top-left mount on the first page is 1, the bottom-right mount on the first page is 12)
- This macro produces no errors (for the most part, you can mount up manually in the room between Krasus' Landing and Dalaran, but not with this macro. This happens because you are being recognized as being in Krasus' Landing so the macro attempts to mount you on your flying mount, but the room itself is still in-doors.) and will not start re-casting a mount if you are already mounted.
Random Smart Mount with Flying Dismount
/run g,f={G,G,G},{F,F,F};z={["Dalaran"]=g,["Wintergrasp"]=g,["Krasus' Landing"]=f};f=z[GetSubZoneText()]or z[GetZoneText()]or(IsFlyableArea()and f)or g;if(IsMounted())then Dismount()else CallCompanion("MOUNT",f[random(#f)])end
- Validated: 3.2.2.10505
- Focus: Universal
- Credit: Magumbadin of Sen'Jin, Xaeros of Shadowmoon, Faceeater of Nozdormu
- Use: When you are mounted the macro will dismount you (even if you are flying - only difference from the above "Random Smart Mount"), when you are in any non-flyable zone (Kalimdor/Eastern Kingdoms/Dalaran/Wintergrasp) it will use your ground mount. When you can fly (anywhere else + Krasus' Landing in Dalaran) it will put you on a flying mount.
- Replace G with a ground mount, and F with a flying mount. To find your mount number, open your mounts tab and count from left-to-right, top-to-bottom. (eg: The top-left mount on the first page is 1, the bottom-right mount on the first page is 12)
- This macro produces no errors (for the most part, you can mount up manually in the room between Krasus' Landing and Dalaran, but not with this macro. This happens because you are being recognized as being in Krasus' Landing so the macro attempts to mount you on your flying mount, but the room itself is still in-doors.) and will not start re-casting a mount if you are already mounted.
Random Smart Mount 3.1 (Compact)
/run if IsMounted()then Dismount()return end local t=GetZoneText()if(((t=="Dalaran")and(GetSubZoneText()~="Krasus' Landing"))or(t=="Wintergrasp")or not IsFlyableArea())then t={a,b,c}else t={x,y,z}end CallCompanion("MOUNT",t[random(#t)])
- Validated: 3.1.3
- Focus: Universal
- Credit: Blindsight of Spirestone
- Use: When you are mounted the macro will dismount you (including when you are flying), when you are in any non-flyable zone (Kalimdor/Eastern Kingdoms/Dalaran/Wintergrasp) it will use your ground mount. When you can fly (anywhere else + Krasus' Landing in Dalaran) it will put you on a flying mount.
- Replace a,b,c with a list of ground mounts, and x,y,z with a list of flying mounts. To find your mount number, open your mounts tab and count from left-to-right, top-to-bottom. (eg: The top-left mount on the first page is 1, the bottom-right mount on the first page is 12. For each page add +12.)
- This macro removes as many unnecessary characters as possible to allow for a longer list of mounts. Still be mindful of the 255 character limit.
- This macro will summon a land mount in the Dalaran Sewer pipe and the top of the Violet Tower.
- Note: This macro will dismount you even while flying, be mindful!
Random Smart Mount 3.1 (Alternate Compact)
/run local g,f={a,b,c},{x,y,z};local z={["Dalaran"]=g,["Wintergrasp"]=g,["Krasus' Landing"]=f};f=z[GetSubZoneText()] or z[GetZoneText()] or (IsFlyableArea() and f) or g;z=(IsMounted() or CallCompanion("MOUNT", f[random(#f)])) and Dismount()
- Validated: 3.1.3
- Focus: Universal
- Credit: Faceeater of Nozdormu
- Use: same as Blindsight's macro above.
- Replace a,b,c with a list of ground mounts, and x,y,z with a list of flying mounts. (see above)
- This macro offers the exact same functionality as the one from Blindsight.
Supercompact Smart Mount 3.1 (Works with large numbers of mounts)
/run if IsMounted()then Dismount()else f={a,b,c}g={n,o,p}c=CallCompanion r=random m="MOUNT"c(m,f[r(#f)])c(m,g[r(#g)])end
- Validated: 3.1
- Focus: Universal
- Due to the checks for Dalaran and Wintergrasp there is very little room left in other macros for mounts (because the game thinks Dalaran/Wintergrasp are flyable areas-some consider this a defect). This version uses a different technique to circumvent the lengthy wintergrasp/dalaran check: it attempts to mount twice - normally the second attempt will fail because you are already mounting. However in the case of wintergrasp or dalaran or other non-flyable areas the original mount attempt will have failed so the second mount command will succeed.
- Replace a,b,c with a list of your flying mounts (e.g. 4,6,9,12,15), n,o,p with your ground mounts.
- This macro will cause a "You cant use that here" or "Action already in progress" error. If you prefer not to see errors then you should choose a different mount macro but you may be limited in the number of mounts you can specify.
- Note: This macro will dismount you even while flying, be mindful!
Supercompact Smart Mount 3.2
/run if IsFlyableArea() and not (GetWintergraspWaitTime() == nil and GetZoneText()=="Wintergrasp") then m={a,b,c} else m={d,e,f} end CallCompanion("MOUNT",m[random(#m)])
/run if IsFlyableArea() and not (GetWintergraspWaitTime() == nil and GetZoneText()=="Wintergrasp") then m={a,b,c} else m={d,e,f} end CallCompanion("MOUNT",m[random(#m)])
/dismount [noflying, mounted]
/dismount [mod:alt, mounted]
- Validated: 3.2.2a and 3.3.0
- Focus: Universal
- They seem to have fixed the IsFlyableArea() script command, so this allows you to use a random mount. The second macro dismounts you, and dismounts you in-flight if you hold alt to click it.
- Replace a,b,c and d,e,f with the list of your flying mounts and ground mounts, respectfully.
- The list consists of the number of you mount as it appears in your pet tab on you character pane. (The first mount is 1, the last mount on the first page is 12, the first mount on the 2nd page is 13, and so on.)
- You can have more or less than 3 in each list, just have a comma between each mount number.
- Note: This macro is very similar to the one from above, it just allows you to use alt to dismount in air and does not show any errors.
-
Note: Does not work in Wintergrasp during the fight, working on that.- Does work during in Wintergrasp during the battle.
Mount Macro Addon
There is an addon that creates an maintains a mount macro. It uses a LUA function call to an addon that keeps track of your location. The macro shows the icon of your favorite mount for flying or riding, depending on what it will operate. The macro will also exit from vehicles. This addon works everywhere as of patch 3.2.0. The addon is Mounty. Draewind (talk) 17:26, 14 August 2009 (UTC)
Mount Macro for the right place and time
/run if IsMounted() then Dismount() return end local m if not IsFlyableArea() or (GetWintergraspWaitTime()==nil and GetZoneText()=="Wintergrasp") or IsSwimming() then m=(1) else m=(3) end CallCompanion("MOUNT",m)
- Validated: 3.2
- Focus: Universal
- This just checks to see whether the area yur in is flyable or not, works for Dalaran depending if you inside the city, then your ground mount will be selected or if your on Krasus' landing then your flying mount since IsFlyableArea() works for this. IsFlyableArea() also works Wintergrasp, but when the battle for wintergrasp starts then it will check to see if your in wintergrasp and if the timer is 0, it will then slect your ground mount if so, but if your in wintergrasp and the timer is not 0 then you will use your flying mount. Also added IsSwimming() if you decide to mount when in water, although if you have a underwater mount then you can change the macro tot he following to use your underwater mount.
/run if IsMounted() then Dismount() return end local m if not IsFlyableArea() or (GetWintergraspWaitTime()==nil and GetZoneText()=="Wintergrasp") then m=(1) else m=(3) end if IsSwimming() then m=(2) end CallCompanion("MOUNT",m)
- Replace the values of m=(1) to the slot of your ground mount and m=(3) to the slot of your flying Mount and if you have a swimming mount, m=(2) to the slot of your Swimming mount
- Note: this macro will dismount you in mid air. Use it wisely.
by Ryarc of Sunstrider
Ground Only or Not Type Specific
Mount Outside
/dismount [mounted] /cast [nomounted,outdoors] <mount 1>
- Validated: 3.1
- Focus: Universal
- This will attempt to mount if you are outside and not mounted. There will be no reaction if you are in an area that does not permit mounts. It will produce an error if you are in combat.
Random mount
/dismount [mounted] /castrandom <mount 1>, <mount 2>, <mount 3>
- Validated: 3.1
- Focus: Universal
- This will randomly use one of the mounts listed in the macro. If you were mounted already, you will dismount for 3 seconds as the random mount is channeled.
- Note: This macro will dismount you even while flying, be mindful!
One-button flyer or ground mount with emote
/mountspecial [mounted] /use [modifier:alt] White Polar Bear Mount /use [nomounted, flyable] Albino Drake /use [nomounted] White Riding Talbuk
- Validated: 3.1.1
- Replace Albino Drake, talbuk etc. with flyers and ground mounts of your choice.
- This mounts you on your flying mount anywhere you can fly, if you are not already mounted. In Old School WoW and in no-fly zones (
Dalaran, Wintergrasp etc.Tested in 3.1.1a, you still need a conditional for Dalaran, etc.) and Northrend if you don't have the skill) it summons your ground mount. Holding down alt will summon a 'showing off' ground mount. Pressing the macro when you are already mounted will do the 'mountspecial' emote (rearing, growling, stretching).
Outdated Macros
Mount macros written before Patch 3.1 that have not been re-validated in newer patches can be found on the Old Mount Macros page.
