So I got this so far:
/run local zone_name = GetRealZoneText(); if zone_name == “The Maw” then C_MountJournal.SummonByID(1441) else C_MountJournal.SummonByID(1368) end
But what I also want it to do is to detect when i’m in a zone that allows flying and summon a flying mount instead of my ground mount (1368). Any idea?
#showtooltip
/run local zone_name = GetRealZoneText(); if zone_name == "The Maw" then C_MountJournal.SummonByID(1441) end
/use regular_mount_macro_stuff
Thanks for the response!
So I go this working:
#showtooltip
/run local zone_name = GetRealZoneText(); if zone_name == “The Maw” then C_MountJournal.SummonByID(1441) end
/cast [flyable] Duskflutter Ardenmoth; Armored War-Bred Tauralus
It does pretty much what I wanted. The only thing I’d like to change is to have it summon a random favourite flying mount when in a flyable zone. Do you know how to do that?
/run local z = GetRealZoneText() if z == "The Maw" then C_MountJournal.SummonByID(1441) else C_MountJournal.SummonByID(0) end
Unfortunately that macro doesn’t account for summoning my particular ground mount in non-flying zones. Only my macro is able to distinguish between the zones and so sum the correct type. What I’m trying to do is just replace the summoning of a particular flying mount to a random flying mount whilst maintaining my particular ground mount in non-flying zones.
#show Armored War-Bred Tauralus
/run local z = GetRealZoneText() if z == "The Maw" then C_MountJournal.SummonByID(1441) elseif SecureCmdOptionParse("[flyable]") then C_MountJournal.SummonByID(0) end
/use [noflyable] Armored War-Bred Tauralus
2 Likes
Great! That’s what I wanted. Thanks so much!