Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Which Script Controls Choices?

Status
Not open for further replies.
Hey, everyone!

I Have a brief question for you. I've been editting the Window_Message script to move the text boxes and text itself over right more, in order to include face portraits in my game. However, when it comes to selectable choices, I can't seem to figure out what script/line to edit.

In Window_Message, I edited lines 146 and 12. I don't think there were any others, although I may be incorrect.

Just to clarify, I want to make it where when I make an event with "Show Choices", it scoots the white selectable bar over to where the text is.

Thanks in advance!
 

Anonymous

Guest

It's in Window_Message#update_cursor_rect.


Code:
  #--------------------------------------------------------------------------
  # * Cursor Rectangle Update
  #--------------------------------------------------------------------------
  def update_cursor_rect
    if @index >= 0
      n = $game_temp.choice_start + @index
      self.cursor_rect.set(8, n * 32, @cursor_width, 32)
    else
      self.cursor_rect.empty
    end
  end

The 8 is the one you want to change to move it to the right.
 
This topic has been resolved. If King Moogle or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top