Alright, then you just need to create the level 3 items.
Something like this:
Code:
elseif tier == 3 then
local info = UIDropDownMenu_CreateInfo();
info.text = "All";
info.func = DropdownTier3;
info.arg1 = module; --Sets?
UIDropDownMenu_AddButton(info,tier);
local info = UIDropDownMenu_CreateInfo();
info.text = "Recolor";
info.func = DropdownTier3;
info.arg1 = module; --Sets?
UIDropDownMenu_AddButton(info,tier);
local info = UIDropDownMenu_CreateInfo();
info.text = "Lookalike";
info.func = DropdownTier3;
info.arg1 = module; --Sets?
UIDropDownMenu_AddButton(info,tier);
end
Either use the same function for all three items, and differentiate using the .arg1 field (you can assign any value you want to it), or use three different functions and don't bother with arg1. Former should be "better" but won't
really matter.