LiteMount

LiteMount

2M Downloads

A slash command to summon directly?

mbattersby opened this issue ยท 4 comments

commented

https://www.curseforge.com/wow/addons/litemount?comment=1555

I was looking for how to do something and didn't see it mentioned, but saw you replied recently to someone so I figured what the hell. Would there be any way for you to add the ability to set a macro to use a specific group, beyond just the direct keybindings?

commented

In a world with only journal mounts this would be fairly easy, because you'd get the mount back and you could summon it with C_MountJournal.SummonByID(id).

But LiteMount handles so many things that aren't, and everything is summoned with the buttons. A slash command can't click a button (forbidden). And it can't cast spells (also forbidden) except if they are journal mount spells. Even worse, you get an awful "this addon is being bad" error message.

I got this working with just randomly mounting by filtering to journal type, getting back the mount list, selecting a random mount and CastSpellByName(m.name).

But the smart mounting + priority I don't know how to do. It would need some code rework. The priority filtering could be moved into MountList, but because it's go so much environment stuff in it it does fit better in Actions.

commented

This is hard

commented

This might be possible using /click instead of /litemount

commented

Doing it as a total hack just for journal. God help us.