Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
fother0

How do i make a new script?

Question

I know that on the page 3 of events you can make a script but for the script editor how do i make a new one instead of just editing the ones already there? Or is it that I cant and I have to edit?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Most scripts are add-ons or modifiers of ones in the RPG maker already

First decide what you're making this script for.

 

Example:

 

class Window_Status

 

Put that in the first line of your script for if you're changing your menu screen.

This tell the rpg maker how and when to interpret your script.

 

Almost all new scripts go just above "Main" on the list.

Share this post


Link to post
Share on other sites
  • 0

The "Call Script" command on the 3rd page of Event Commands is generally for accessing existing scripts in your Script Editor.

 

For example, if you wanted to open up your items window by using an event, you would use the Call Script command and type the following:

$scene = Scene_Item.new

 

You should try it and see what I mean.

Share this post


Link to post
Share on other sites
  • 0

Okay, so, I think people might be missing the question, I'm not sure, so I'll give the answer I think you are asking for. When you open the script editor, go down to Main. When you right-click it, you will see an option that says "Insert" click that, and it will create an empty script. From there, you just have to learn scripting so that you can write scripts -nods- Hope that helps ^^

Share this post


Link to post
Share on other sites
  • 0

All of these are great answers/suggestions. Can I give it a stab?

 

To insert a new script, right-click any area in the script editor on the list on the right-hand side to add a new script. It is HIGHLY recommended that you add this new script above Main, and under all other default scripts. (to do this, you do as Emily mentioned, right-click on main and insert).

 

Next, be certain to note any and all changes you make, especially if you are just learning to script. Ad for learning to script, check out the tutorial section, and the 'class' sessions on the site. I have a good jump on tutorials there and can answer any questions you have.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...