Adrien.
Jan 2 2012, 10:51 AM
How would I, in the script editor change the window skin - if I was making a script for users to use? There is the Window class with windowskin, but im not sure how to utilize that.
Night5h4d3
Jan 2 2012, 02:13 PM
The windowskin is a native property of the Window class. To set the windowskin of a window you'd use
CODE
.windowskin = Cache.system(<WINDOWSKINFILE>)
ie:
CODE
@command_window.windowskin = Cache.system("Window2")
Adrien.
Jan 2 2012, 02:16 PM
is that people use to change the window skin of say a particular window?
Night5h4d3
Jan 2 2012, 02:19 PM
not exactly sure what you mean, but yes, you change singular windows' skins with that.
Adrien.
Jan 2 2012, 02:52 PM
For example: Shop window skin is one window skin, status is another, text box is another, and so on. I am assuming the same way?
Melosx
Jan 2 2012, 04:52 PM
for each window you add this line
self.windowskin = Cache.system("WINDOWSKINNAME")
in
def initialize
For example in Window_TitleCommand
class Window_TitleCommand < Window_Command
#--------------------------------------------------------------------------
# ● オブジェクト初期化
#--------------------------------------------------------------------------
def initialize
super(0, 0)
update_placement
select_symbol(:continue) if continue_enabled
self.openness = 0
self.windowskin = Cache.system("WindowSkinName")
open
end
Adrien.
Jan 2 2012, 05:34 PM
I was hoping it wasn't that way....I wanted to avoid that. but o well. it actually worked this time >_>
Kread-EX
Jan 3 2012, 01:00 PM
Closed at OP request.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.