Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] <@137621762870345728>, so for A), I could just increase the required expansion to 4 for all the clas

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
10-23-2023, 03:23 PM
#11
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
rektbyfaith
10-23-2023, 03:23 PM #11

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

rektbyfaith
Administrator
0
10-23-2023, 03:24 PM
#12
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
rektbyfaith
10-23-2023, 03:24 PM #12

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

rektbyfaith
Administrator
0
10-23-2023, 03:24 PM
#13
Archived author: tester • Posted: 2023-10-23T15:24:11.973000+00:00
Original source

been like 2-3 years
rektbyfaith
10-23-2023, 03:24 PM #13

Archived author: tester • Posted: 2023-10-23T15:24:11.973000+00:00
Original source

been like 2-3 years

rektbyfaith
Administrator
0
10-23-2023, 03:35 PM
#14
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;
buttonBig Grinisable();
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```
rektbyfaith
10-23-2023, 03:35 PM #14

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;
buttonBig Grinisable();
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```

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)