Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
albertibay

can teach me how to overide the choice menu and help me make a new one

Question

8 answers to this question

Recommended Posts

  • 0

ah ok, well the choices are built into the message window, to get to all the code that controls it you would need to look inside Window_Message, are you farmiliar with ruby? im guessing you have a little knowledge from the task you have aimed for.

 

first thing is first, Window_Message has the parent class class Window_selectable as you can see from the class name:

class Window_Message < Window_Selectable

this means that this class has all the methods that its parent has unless you redefine them, so because it has all the methods of that class it can act like such, now the confusing part about Window_Message is how it decides whether choices should be shown, all this is done inside the refresh and update methods, it also gets its values from $game_temp which are set by your events,

the way the events setup message windows is first they set up the text, then they check the next event line to see if it is a show choices command, if it is it advances to that line and executes the show choice command adding the choices to the window, you can find the code that executes this by going to interpreter 3 and you will see command_101 is the show text command and the method that it calls to setup the choices if found in interpreter 1.

 

what do you plan on achieving with your new choices? it would be alot easyer if i knew and i could point you the right way,

if you have further questions or need help im here :)

Edited by diagostimo

Share this post


Link to post
Share on other sites
  • 0

What do you want to do SPECIFICALLY? Another window to replace the existing one, with the same functions? Or implement new functions in the existing one? And if so, what kind of functions?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...