You are not logged in.
Finally found one that works properly.
/run if IsMounted()or CanExitVehicle() then Dismount()VehicleExit() return end local m,z=2,GetZoneText()if IsFlyableArea()and z~="Wintergrasp"and (z~="Dalaran"or GetSubZoneText()=="Krasus' Landing") then m=3 end CallCompanion("MOUNT",m)
Change the following numbers in the code to make it work:
m,z=2
Switch 2 with the number of your ground mount, as displayed in the mount tab.
m=3
Switch 3 with the number of your flying mount.
I did not write this btw.
Offline
Btw Amanhis.. huge thanks for this macro works like a charm.
Offline
xzar wrote:
Have you seen something similar for druid travel forms?
Modified the original code abit. Try this:
/run if IsMounted()or CanExitVehicle() then Dismount()VehicleExit() return end local z=GetZoneText()if IsFlyableArea()and z~="Wintergrasp"and (z~="Dalaran"or GetSubZoneText()=="Krasus' Landing") then CastShapeshiftForm(6)else CallCompanion("MOUNT",#) end
Again, replace # with the number of your land mount. Let me know if it works, can't try it out myself atm.
Edit:
At a second look I think this will take you over the character limit.. You'll have to remove either IsMounted() and Dismount(), or CanExitVehicle() and VehicleExit(), depending on whether your usual land mount is a vehicle(tundra mammoth, carpet, chopper) or not (normal mount).
E.g.:
/run if IsMounted() then Dismount() return end local z=GetZoneText()if IsFlyableArea()and z~="Wintergrasp"and (z~="Dalaran"or GetSubZoneText()=="Krasus' Landing") then CastShapeshiftForm(6)else CallCompanion("MOUNT",#) end
If you want to use Travel form instead of a Mount, replace CallCompanion("MOUNT",#) with CastShapeshiftForm(4)
Last edited by Amanhis (2008-12-07 23:13:29)
Offline
Word of caution though: Dismount() will actually work on the flying mount you have when you corpse-run in Storm Peaks. So keep your finger off this macro then, because once you're off I don't know of any way to get it back without "re-dying", and depending on where your corpse lies, your only option might be a spirit ress.
Offline
Bah, the druid version isn't going to work because CastShapeshiftForm is a protected function, only available to Blizzard.
Offline
I have ground mount on hotkey 8 and flying mount on 9. works pretty nice. When I click on 8, I summon my ground mount. and when I click 9, I summon my flying mount.
Offline
Ino wrote:
det enkle or som oftest det beste
QFT
Offline
Obscure wrote:
I have ground mount on hotkey 8 and flying mount on 9. works pretty nice. When I click on 8, I summon my ground mount. and when I click 9, I summon my flying mount.
so basically when you press 8.. you mount your ground mount.. and what happened if you pressed 9?
Offline
Golrock wrote:
Obscure wrote:
I have ground mount on hotkey 8 and flying mount on 9. works pretty nice. When I click on 8, I summon my ground mount. and when I click 9, I summon my flying mount.
so basically when you press 8.. you mount your ground mount.. and what happened if you pressed 9?
I would mount my flying mount. Unless I'm in a no-fly zone. And I know where those are, so no problem.
Offline
i have http://www.wowhead.com/?spell=48025
so i win
Offline