Hi!
Is there an event command, script call or plugin command that lets you change the game's font during gameplay?
Essentially, I would like to create an event that, once interacted with by the player, does the following:
1. Change the primary font to a secondary font.
2. Bring up the Character Name Input screen (via event command).
3. Change the secondary font back to the primary font.
I found the following scriptlet in a Steam community post from 2016 by a user named Mystix, but it isn't working:
Any help or pointers would be greatly appreciated!
Thanks!
Is there an event command, script call or plugin command that lets you change the game's font during gameplay?
Essentially, I would like to create an event that, once interacted with by the player, does the following:
1. Change the primary font to a secondary font.
2. Bring up the Character Name Input screen (via event command).
3. Change the secondary font back to the primary font.
I found the following scriptlet in a Steam community post from 2016 by a user named Mystix, but it isn't working:
Code:
# use the following in a scriptcall command:
# change_font("fontname")
# where "fontname" is the name of the font.
class Scene_Map < Scene_Base
attr_accessor :message_window
end
class Game_Interpreter
def change_font(fontname)
SceneManager.scene.message_window.contents.font.name = fontname
end
end
Any help or pointers would be greatly appreciated!
Thanks!