Hello! Sorry to bother you all, but I have a quick question.
In my game, there is a part where I want to change the font just when a certain character is speaking. I thought I just enable Ultimate Font Override in Tons of Addons, and then use the command:
$game_system.fontname = "Alt Font Name"
and then when I wanted to change it back use the command:
$game_system.fontname = "Default Font Name"
(Obviously, those aren't the actual names of the fonts.)
However, when I use this command, the font does not change until I open and close the menu. I'm not quite sure what's causing this problem.
I think it might be related to Blizzard's CMS, which I am also using.
If I go and change the name of the font on line 335 of the CMS, then it works fine.
I am running the regular, legal RPG Maker XP.
Any advice would be appreciated.
Thanks in advance for your help!
That's because instantiated windows don't change the font when you change the font. Only the windows created after will apply to the font or if in the already existing windows the newly set font is applied. My CMS automatically applies the current font when you change it in the options menu to currently active windows in the entire menu.
So you can either use my CMS or you can add additional script calls for the windows to apply the new font and refresh the windows to avoid this issue.
Alright, I've give it a shot. Thanks for your help!