Hello everyone!
I'm trying to replicate the "You must have an existing character of at least level 55 on any realm to create a Death Knight" message, however, for another class with different text shown.
I was able to achieve having the same message show. However, it automatically showed when I made the class Heroic server-side. My current issue is that both different classes have different requirements. So the same message can't be shown on these different classes.
Looking into GlueStrings.lua, this is where the message's text is being handled:
CHAR_CREATE_LEVEL_REQUIREMENT = "You must have an existing character of at least level 55 on any realm to create a Death Knight.";
What I don't know is where this message is defined exactly. Where does it tell the client to display the "CHAR_CREATE_LEVEL_REQUIREMENT" message for Heroic Classes? If I know where this is, I can easily create another one for the other class.
Here's an in-game view of what I'm talking about:
- Message when creating a DK without meeting requirements:

- Message I need to show when not meeting requirements on a
DIFFERENT class, Demon Hunter:

Instead, the same message is displayed, so how can I have a different message shown per class?
I've already tried looking in a few places such as an 'Entire Solution' search server-side for "CHAR_CREATE_LEVEL_REQUIREMENT" and in CharacterCreate.lua/.xml and a few others.
I could be searching for the wrong thing, but any help is appreciated.
Thanks!
Deathorous.