WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   GetTexture got number instead of string (https://www.wowinterface.com/forums/showthread.php?t=55501)

arith 06-20-17 08:14 AM

GetTexture got number instead of string
 
I wonder if the GetTexture's behavior was recently changed since 7.2.5.
Takes an example, if you type /dump GetCurrencyInfo(1342), it will dump the array info for Legionfall War Supplies. The 3rd value should be the texture/icon info. What I got is 803763, not something like "Interface\Icons\xxxxx"

Anyway I can tell the texture path?

Resike 06-20-17 09:31 AM

https://www.townlong-yak.com/framexm...tTextureID.lua

arith 06-20-17 09:41 AM

Interesting, and thanks.

Seerah 06-21-17 11:09 AM

As an additional note, the client was changed to use texture IDs in 7.0.

arith 06-21-17 11:18 AM

Quote:

Originally Posted by Seerah (Post 323930)
As an additional note, the client was changed to use texture IDs in 7.0.

Thanks for the addition, I wasn't aware of this change!

Seerah 06-21-17 06:31 PM

SetTexture will still accept a string, but GetTexture, GetItemInfo, etc. will give you the ID number. What Resike linked is a list of all texture IDs taken out of the client.


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

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