WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   GetMacroInfo() second return (https://www.wowinterface.com/forums/showthread.php?t=54011)

Banknorris 07-24-16 01:51 PM

GetMacroInfo() second return
 
So GetMacroInfo() used to return the macro complete texture path icon like

"INTERFACE\\ICONS\\INV_MISC_QUESTIONMARK"

But now it returns a number. I tried to figure it out by myself reading the BlizzardInterfaceCode but just didn't get it. Anyone knows how do I convert the current GetMacroInfo() second return (a number) into the good and old texture file path?

Thanks.

PS.: I actually talking about live (7.0.3) not Beta.

Fizzlemizz 07-24-16 02:22 PM

For the shortened verion see

Slightly longer version see

Seerah 07-24-16 02:59 PM

Take a look in the macro library inside Bear in Mind if you want to see only the ICON folder files pulled from that long list of textures.

TimothyLuke 07-24-16 10:07 PM

This has driving me nuts. So what do i pass AceGUI Icon? If I give it a texture ID i get a green box.

Banknorris 07-26-16 04:18 PM

Thanks. I found out this is not a big deal for my particular case at least. I don't really need the texture paths, I just need to recreate macros so since CreateMacro accept the texture ids it is just fine.

Just for sake of community knowledge, when you create a macro with texture id 134400 (texture id of the "?") the macro icon will not reflect the spell (or item) the macro will cast (or use). Instead you need to use the old and good "INV_MISC_QUESTIONMARK".

so use

CreateMacro("macro1","INV_MISC_QUESTIONMARK","/cast something")

instead of

CreateMacro("macro1",134400,"/cast something")


All times are GMT -6. The time now is 05:39 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI