View Single Post
12-06-22, 09:04 AM   #1
AeroMaxxD
An Aku'mai Servant
Join Date: Dec 2022
Posts: 33
Adding categories to the achievement frame

I can't seem to figure out how to use this function.

addCategory()

From looking at another addon it seems to take 4 parameters, but can I not get it to work using /script.

Below is everything I have tried, but they all give the same error "attempt to call global 'addCategory' a nil value".

Code:
/script addCategory(false, "Rewards", nil, nil)
/script addCategory(false, "Rewards", 1, 1)
/script addCategory(false, "Rewards", 1, nil)
/script addCategory(false, "Rewards", nil, 1)
/script addCategory(19000, "Rewards", 1, 1)
I can't find any mention of this function anywhere either sadly.

I've checked the following places, maybe I am just not looking in the right place?

https://www.townlong-yak.com/framexml/live
https://github.com/Gethe/wow-ui-source
https://wowpedia.fandom.com/wiki/Vie...interface_code
https://wowpedia.fandom.com/wiki/World_of_Warcraft_API
https://wowwiki-archive.fandom.com/w...f_Warcraft_API
https://www.wowhead.com/guide/compre...ng-in-lua-5338
  Reply With Quote