I would like to make a macro (no addon) that would allow me to summon certain mounts when i’m grounded and to summon a mount from my favorites list the rest of the time.
If you’re wondering why, it’s because a lot of flying mounts launch on ground
Can i add a condition so that this script launches when I’m on the ground :
/run if IsMounted()then return end local t t={2339,663,1825,682,404,1943,311} C_MountJournal.SummonByID(t[random(#t)])
And this one the rest of the time :
/run C_MountJournal.SummonByID(0)
/run local t={0} if not SecureCmdOptionParse("[advflying] [flying]") then t={2339,663,1825,682,404,1943,311} end C_MountJournal.SummonByID(t[random(#t)])
If the zone doesn’t support flying pick from the list, otherwise do random.
/run local t={0} if not SecureCmdOptionParse("[advflyable] [flyable]") then t={2339,663,1825,682,404,1943,311} end C_MountJournal.SummonByID(t[random(#t)])