This site makes extensive use of JavaScript.
Please
enable JavaScript
in your browser.
Classic Theme
Thottbot Theme
Flyable/noflyable in dalaran and wintergrasp?
Post Reply
Return to board index
Post by
rakkarage
#showtooltip
/castrandom Winged Steed of the Ebon Blade, Ashes of Al'ar
/castrandom Archeus Deathcharger, Deathcharger's Reins
i got a macro kinda like this... and it works everywhere except in dalaran and wintergrasp... both places i am forced to manualy choose land mount with right click because it tries to use the flying mount there
is there a way to make the macro not attempt to use flying mount in dalaran?
thanks
Post by
Wanderingfox
It's an issue with the conditional not properly changing for no fly zones.
There IS a very ugly /script macro you can use to get it done however.
Post by
Corveroth
Yup. Not sure if you can go simpler (I'm a druid and rarely bother with mounts even when grounded, so I haven't played with it personally), but here's a random mount macro from my guild forums:
/run local
t={Y,Y}
if IsMounted()then return elseif not IsFlyableArea()or "Wintergrasp"==GetZoneText()or "Dalaran"==GetRealZoneText()and "Krasus' Landing"~=GetSubZoneText()then
t={X,X}
end CallCompanion("MOUNT",t)
/dismount
Setup is a bit tricky. At the beginning of the first line, replace the Ys in
t={Y,Y}
with the numbers of your flying mounts- count left-to-right, top-to-bottom, and add 12 for each page you pass. Further down the line, replace the Xs in
t={X,X}
with the numbers of your land mounts. Note that you aren't limited to just two of each- you can add as many as you can fit into the macro space, just seperate them by commas. You should end up with something like:
/run local
t={2,7,8}
if ... then
t={1,5}
end ...
/dismount
Now, if you want just one mount of each type, it's a bit shorter of a macro, but you still replace then Y with your flying mount's number and the X with your ground mount:
/run local
t=Y
if IsMounted()then return elseif not IsFlyableArea()or "Wintergrasp"==GetZoneText()or "Dalaran"==GetRealZoneText()and "Krasus' Landing"~=GetSubZoneText()then
t=X
end CallCompanion("MOUNT",t)
/dismount
Post by
pelf
I really hope they fix that in 3.0.x.
Post by
Corveroth
Heh. That macro came about after I took someone else's version (which had something like 251 characters) and cut down on whitespace and made a few other space optimizations.
I wouldn't say you're doomed though. What you could do is set up tables containing the mount numbers in a different macro:
/run fly_mounts = {1,15,16,19,20,21,28,33,36,37,47} --line break for readability
ground_mounts = {6,7,12,13,14,22,23,29,30,31,32,34,35,38,39,40,41,42,44,45}
/run local t=fly_mounts if IsMounted()then return elseif not IsFlyableArea()or "Wintergrasp"==GetZoneText()or "Dalaran"==GetRealZoneText()and "Krasus' Landing"~=GetSubZoneText()then t=ground_mounts end CallCompanion("MOUNT",t)
/dismount
What you'd have to do here is to use the first macro once every time you log on; afterwards, the second macro will work fine for the rest of that session. To preserve the contents of the first macro across sessions would require a full-on addon, I think.
Post by
Corveroth
Sorry, that was badly worded- yes, the contents of the macro would persist. But the effects of the macro (setting the contents of the tables fly_mounts and ground_mounts) will not persist between sessions. An addon could set those up at load time.
As for the macros not working, did you make sure to remove the comment ("--line break for readability") from the first?
/run fly_mounts = {1,15,16,19,20,21,28,33,36,37,47} ground_mounts = {6,7,12,13,14,22,23,29,30,31,32,34,35,38,39,40,41,42,44,45}
Post by
Corveroth
*shrug* Just tested it on my warlock. Worked fine.
Post by
pelf
There wasn't anything in the PTR notes that I saw for 3.0.8 about fixing the flyable condition :\. I'll wait til that patch goes live and then I'll look at updating my macros, I guess.
Post by
607
This post was from a user who has deleted their account.
Post by
607
This post was from a user who has deleted their account.
Post by
607
This post was from a user who has deleted their account.
Post by
Corveroth
Ever heard of the
mounted
condition? There's a
macros guide and reference
- it was written for a reason. The Dalaran/Wintergrasp situation is an bug in the normal functionality, and requires special handling, but there's no reason you shouldn't be able to figure out the basic macro on your own.
Post by
155291
This post was from a user who has deleted their account.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.