[RMXP] BASIC QUESTION ABOUT SETTING WINDOW SKINS THROUGH SCRIPTS.
Posts
Pages:
1
My game will be using a script that is somewhat well known, called Universal Message System, or UMS. As you could guess by the name, it handles general dialogue tweaks.
Basically, I want the window skin of the message window to be different than the window skin of the choice window. Luckily, the script I'm using is very clearly labeled and I'm fairly certain I've found the line(s) of code I need to change. The only problem is that I don't know the exact syntax I have to use to change it. Everything I've tried has either completely erased the window skin or had no effect.
Would someone be willing to take a look at this for me?
These are the lines of relevant code:
if $game_system.windowskin != ""
self.windowskin = RPG::Cache.windowskin($game_system.windowskin)
else
self.windowskin = RPG::Cache.windowskin($data_system.windowskin_name)
end
The window skin I want to use is called "Borderless$cur", just in case you need that information.
Thanks for reading my request!
Basically, I want the window skin of the message window to be different than the window skin of the choice window. Luckily, the script I'm using is very clearly labeled and I'm fairly certain I've found the line(s) of code I need to change. The only problem is that I don't know the exact syntax I have to use to change it. Everything I've tried has either completely erased the window skin or had no effect.
Would someone be willing to take a look at this for me?
These are the lines of relevant code:
if $game_system.windowskin != ""
self.windowskin = RPG::Cache.windowskin($game_system.windowskin)
else
self.windowskin = RPG::Cache.windowskin($data_system.windowskin_name)
end
The window skin I want to use is called "Borderless$cur", just in case you need that information.
Thanks for reading my request!
Maybe this is a dumb suggestion, but there is an event command that allows you to change the windowskin. Couldn't you simply use that whenever a choice window comes up, and change it back afterwards again? Or would that cause problems with the script?
Unfortunately, that event changes the window skin of all windows on screen to match each other. I need the window skin of the message window to be different than the window skin used by the choice window.
I'm almost certain that the snippet of code I provided in the original post is what needs to be altered.
But hey, there's no such thing as a dumb suggestion! I'm just glad someone responded at all! Thanks all the same!
EDIT: Oh, wait! I could just change the opacity to 0! Hah! Problem solved.
I'm almost certain that the snippet of code I provided in the original post is what needs to be altered.
But hey, there's no such thing as a dumb suggestion! I'm just glad someone responded at all! Thanks all the same!
EDIT: Oh, wait! I could just change the opacity to 0! Hah! Problem solved.
Pages:
1














