Why will my font not load?
I'm working on a ui replacement for mainhud_player, inlcuded below. It uses a custom textstyle, included below. The textstyle uses a custom font, included below.
The problem is, i cannot get the custom font type to load into the ui. It patently refuses to obey the textsyle and it's pissing me off. Does anyone have an idea why it will not work, based on the code? If you look at the code, the Emblem font should be used to display the HP%, but it loads the default font type instead, but adjusts to my specified font size.
However, in UIBuilder, it loads fine. I've also tried using one of the default styles, CombatBubbleCrit, but again it loads the default font type.
Please please help. I want this to work.
Regads.
|