So ive got tired of manually creating all my mount macros so i decided to fix it in simplest way possible. By writing my own addon of course! Sadly im strange to LUA and WoW api thingies... I can code in C++/pascal such things so playing with lua or xml is not that hard. Just that bloody wow api. Ive been reading wowwiki for most of the time. Search engine is just bad there. Cant find nothing.
So. My addon can make working macro however i have problem with adding current names/IDs to use.
Theres CallCompanion( type,id) but i have trouble getting correct id without manually typing it in. Theres this call that outputs spellid and creature ids but i cant seem to use them in any way. Ideally Id like to just drag icon from companion panel to add it or even better create my own list of mounts sorted by ground/flying type.
I dunno if thats possible with current API so dont kill me
Also in threads ive read people tend to use lua exclusively for everything is there any reason for that?
Thanks in advance!