[DiscordArchive] message("Alchemist: "CLASS_ALCHEMIST" returned?
[DiscordArchive] message("Alchemist: "CLASS_ALCHEMIST" returned?
Archived author: 이사야 • Posted: 2021-07-01T19:42:01.275000+00:00
Original source
message("Alchemist: "CLASS_ALCHEMIST" returned?
Archived author: 이사야 • Posted: 2021-07-01T19:46:32.789000+00:00
Original source
i see this here
end
local coords = CLASS_ICON_TCOORDS[classFileName];
CharacterCreateClassIcon:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
CharacterCreateClassLabel:SetText(className);
CharacterCreateClassRolesText:SetText(abilityText);
CharacterCreateClassText:SetText(GetFlavorText("CLASS_"..strupper(classFileName), GetSelectedSex()).."|n|n");
CharacterCreateClassScrollFrameScrollBar:SetValue(0);
Archived author: stoneharry • Posted: 2021-07-01T19:52:29.734000+00:00
Original source
So in your table you have: ` ["ALCHEMIST"] = {0.25, 0.49609375, 0.5, 0.75}`
But your name is not `ALCHEMIST`, it is `CLASS_ALCHEMIST`
Archived author: stoneharry • Posted: 2021-07-01T19:53:14.600000+00:00
Original source
If that is truly what the message displayed on the screen
Archived author: 이사야 • Posted: 2021-07-01T19:56:54.448000+00:00
Original source
i just put that there trying to figure out how you were plugging that in
Archived author: 이사야 • Posted: 2021-07-01T19:58:31.962000+00:00
Original source
the class_icon_tcoords above were from the constants.lua and the charactercreate.lua
Archived author: stoneharry • Posted: 2021-07-01T20:09:06.479000+00:00
Original source
On line 327 you have:
`local coords = CLASS_ICON_TCOORDS[classFileName];`
Insert a line afterwards that adds the debug statement, like so:
```lua
local coords = CLASS_ICON_TCOORDS[classFileName];
message("My class name: " .. classFileName .. " returned " .. tostring(coords))
```
It should popup with a message saying what you are selecting
Archived author: 이사야 • Posted: 2021-07-01T20:23:39.195000+00:00
Original source
hmmm same error not sure *shrugs* lol
Archived author: 이사야 • Posted: 2021-07-01T20:24:01.748000+00:00
Original source
local coords = CLASS_ICON_TCOORDS[classFileName];
message("My class name: " .. classFileName .. " returned " .. tostring(coords))
CharacterCreateClassIcon:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
CharacterCreateClassLabel:SetText(className);
CharacterCreateClassRolesText:SetText(abilityText);
CharacterCreateClassText:SetText(GetFlavorText("CLASS_"..strupper(classFileName), GetSelectedSex()).."|n|n");
CharacterCreateClassScrollFrameScrollBar:SetValue(0);
end
Archived author: 이사야 • Posted: 2021-07-01T20:25:08.148000+00:00
Original source
wait