Help - Search - Members - Calendar
Full Version: [Scripting][Series]RGSS: Windows - Lesson 1: An Introduction to Windows
RPG RPG Revolution Forums > Scripting > Script Tutorials > RGSS
Pages: 1, 2
storymasterq
I think you need to call refresh from inside initialize as well.

Cheers,
SQ
HeroOfHyla
QUOTE (storymasterq @ Mar 9 2008, 12:24 AM) *
I think you need to call refresh from inside initialize as well.

Cheers,
SQ



Well call me a monkey's uncle. It worked. Thanks a lot for your help.
LOD
dammit what happened? i followed all the steps by copying the scripting and all i get is a message of error saying that an error ocurred on Window_First!
storymasterq
QUOTE (LOD @ Mar 17 2008, 09:27 PM) *
dammit what happened? i followed all the steps by copying the scripting and all i get is a message of error saying that an error ocurred on Window_First!


Can you be specific and tell us what the error was?

Cheers,
SQ
Fieryarts
QUOTE (LOD @ Mar 17 2008, 09:34 AM) *
dammit what happened? i followed all the steps by copying the scripting and all i get is a message of error saying that an error ocurred on Window_First!


You placed the script in the wrong area.. notice in the left pane where Window_Base is located? If your script is above that, then the call to it as a super will not work. Best to move your scripts down to the section called Materials, where the ( Insert here ) is at.
Tenchu-San
Okay, I've managed to tinker around with this on VX but I can only manage to make a window that says something that I've already put in the script menu. I'm totally lost as to figuring out how to call a window through an event and input what it says in there. Halp!

Mainly because I don't want to have to make a script page for EVERY time the player completes a Quest Objective ^^;
woratana
You can create new window with Window_Base by call script biggrin.gif

CODE
$win = Window_Base.new(x, y, width, height)
Tenchu-San
When I try to use that (and put in values) it says:

QUOTE
Script 'Window_Base' line 45: RGSSError occurred.

failed to create bitmap


Syntax is so confusing @_@

Oh! I must have put in bad values, because when I tried some of the values that the other people used, I got a window! Now to move on to figuring out how to put text in it o.o!!
woratana
You may want to check my script called 'Character Textbox', that may give you an idea about that. smile.gif
Tenchu-San
I'll definitely do that! Thanks a lot for your help biggrin.gif
duckdudetom
Thanks CCOA, could you make more tuts for RUBY, I know there is allready RGGS for Dumbies but that Tut is kinda... terrible
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.