Clear Button Texture and Text LUA Help
View Single Post
04-27-17, 11:01 PM
A Wyrmkin Dreamwalker
Join Date: Dec 2005
Originally Posted by
Begun fixing the beacon bar part:
Count display (fixed)
Disabled "LeftClick" to prevent some annoying ContainerFrameItemButtonTemplate stuff working (we only want the click to use part here)
Beacons are now sorted based on Quality > Count > Name
Merged some functions together to make the code cleaner
By the way, searching for names rather than using predefined itemIDs like mentions in my first solution, will be an issue for non english clients
Except we want to handle each localization manually...
For localization we will ahve to do something like:
if name and name:find("Sentinax Beacon" or "Netherchunck") then
We also need to query other items, like nether shards and boss summon stones. This is going to require tables... bleh.
As for localization, we could simply search for local names, making our list, ostensibly, smaller, adding them to the table for Chinese, Russian, Portuguese, etc.
But you are correct that we wont have to worry about localization if we use item IDs.
View Public Profile
Send a private message to Dejablue
Visit Dejablue's homepage!
Find More Posts by Dejablue