[DiscordArchive] what dbc is for undead's jaw? charfacialhair.dbc?
[DiscordArchive] what dbc is for undead's jaw? charfacialhair.dbc?
Archived author: exanimis • Posted: 2022-04-12T06:15:35.348000+00:00
Original source
what dbc is for undead's jaw? charfacialhair.dbc?
Archived author: Thiaz • Posted: 2022-04-12T07:18:05.857000+00:00
Original source
You just need to replace the modelName after the "GetCreateBackgroundModel"
Archived author: AngryPenguinStudio • Posted: 2022-04-12T07:23:08.054000+00:00
Original source
it doesnt seem to want to follow anything i throw at it. Right now, i have it default like this:
` -- Set background
local backgroundFilename = GetCreateBackgroundModel(faction);
--[[if CharacterCreate.selectedClass == 11 then
backgroundFilename = "DEMONHUNTER"
end]]
if (faction == "Alliance") then
SetBackgroundModel(CharacterCreate, "Alliance");
else
SetBackgroundModel(CharacterCreate, "Horde");
end`
Archived author: Thiaz • Posted: 2022-04-12T07:23:49.402000+00:00
Original source
```if backgroundFilename == "DEATHKNIGHT" then
backgroundFilename = faction
end```
Archived author: AngryPenguinStudio • Posted: 2022-04-12T07:23:58.906000+00:00
Original source
ah ok
Archived author: AngryPenguinStudio • Posted: 2022-04-12T07:24:00.736000+00:00
Original source
cool
Archived author: AngryPenguinStudio • Posted: 2022-04-12T07:24:01.221000+00:00
Original source
ty
Archived author: Thiaz • Posted: 2022-04-12T07:24:36.680000+00:00
Original source
and just put
```SetBackgroundModel(CharacterCreate, faction);```instead of ur if statement
Archived author: Thiaz • Posted: 2022-04-12T07:26:22.088000+00:00
Original source
you can add
```message(StringToDisplay);``` in your code if you want to print some debug msg
Archived author: AngryPenguinStudio • Posted: 2022-04-12T07:30:07.320000+00:00
Original source
so part of the issue, is, it seems, after creating a DK there is no "faction" listed. It doesnt seem to go off the alliance or horde, its like its "deathknight" as a faction