WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   CreateMacro default icon (https://www.wowinterface.com/forums/showthread.php?t=58427)

MinguasBeef 12-01-20 05:14 AM

CreateMacro default icon
 
Is there any way to call CreateMacro and have the icon default to what is occurring like when you manually make a macro?

For example,

if I manually make a macro with

#showtooltip
/cast [mod:shift] Rejuvenation
/cast [nomod:shift] Lifebloom

The icon will change depending on if I have shift pressed.
With CreateMacro, however, it seems to require an icon path. I can't figure out what icon path I should be setting it to for showtooltip to work properly. I tried the default question mark icon, but this just made the icon stay as a question mark.

Vrul 12-01-20 10:08 AM

It worked fine for me using "INV_MISC_QUESTIONMARK" for the icon but not if I used it's number 134400.

MinguasBeef 12-01-20 10:38 AM

Quote:

Originally Posted by Vrul (Post 337766)
It worked fine for me using "INV_MISC_QUESTIONMARK" for the icon but not if I used it's number 134400.

Thanks, it looks like I had to use the string identifier that you mentioned instead of the numeric id that I was using.

It works now.


All times are GMT -6. The time now is 07:12 AM.

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