[DiscordArchive] <@137621762870345728>, so for A), I could just increase the required expansion to 4 for all the clas
[DiscordArchive] <@137621762870345728>, so for A), I could just increase the required expansion to 4 for all the clas
Archived author: stoneharry • Posted: 2023-10-23T15:23:47.004000+00:00
Original source
The number of buttons must match the dbc but that's the only requirement
Archived author: tester • Posted: 2023-10-23T15:24:05.349000+00:00
Original source
i dont remember what caused it or what it was exactly
Archived author: tester • Posted: 2023-10-23T15:24:11.973000+00:00
Original source
been like 2-3 years
isable();Archived author: Oldboi • Posted: 2023-10-23T15:35:04.883000+00:00
Original source
where do you use that in CharacterCreate.lua? Like I think this is the code for the buttons on that Lua file. ```local coords;
local index = 1;
local button;
for i=1, select("#", ...), 3 do
coords = CLASS_ICON_TCOORDS[strupper(select(i+1, ...))];
_G["CharacterCreateClassButton"..index.."NormalTexture"]:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
_G["CharacterCreateClassButton"..index.."PushedTexture"]:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
button = _G["CharacterCreateClassButton"..index];
button:Show();
if ( (select(i+2, ...) == 1) and (IsRaceClassValid(CharacterCreate.selectedRace, index)) ) then
button.enable = true;
button:Enable();
SetButtonDesaturated(button);
button.name = select(i, ...)
button.tooltip = select(i, ...);
_G["CharacterCreateClassButton"..index.."DisableTexture"]:Hide();
else
button.enable = false;
button
isable();
SetButtonDesaturated(button, 1);
button.name = select(i, ...)
button.tooltip = _G[strupper(select(i+1, ...).."_".."DISABLED")];
_G["CharacterCreateClassButton"..index.."DisableTexture"]:Show();
end
index = index + 1;
end```