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.

What script do you find where the characters are drawn in th

I know this is a really stupid question, but I was messing with my scripts and deleted the fourth party member from the menu. I was wondering if anyone knew which script page has the draw party members in it. If anyone could do that, it would be a real help. I'm sorry for asking this, but I really don't want to search through all the pages and come up empty handed or have accidently skimmed over it.
 
Hmm, you talking about the 4th member not being drawn in the party window on the main menu? Do a CTRL+SHIFT+F and find all instances of "class Window_MenuStatus" and check your "refresh" method for that window, unedited it should look like...

Code:
  #--------------------------------------------------------------------------

  # * Refresh

  #--------------------------------------------------------------------------

  def refresh

    self.contents.clear

    @item_max = $game_party.actors.size

    for i in 0...$game_party.actors.size

      x = 64

      y = i * 116

      actor = $game_party.actors[i]

      draw_actor_graphic(actor, x - 40, y + 80)

      draw_actor_name(actor, x, y)

      draw_actor_class(actor, x + 144, y)

      draw_actor_level(actor, x, y + 32)

      draw_actor_state(actor, x + 90, y + 32)

      draw_actor_exp(actor, x, y + 64)

      draw_actor_hp(actor, x + 236, y + 32)

      draw_actor_sp(actor, x + 236, y + 64)

    end

  end

It sounds like you might've done something to the "for i in 0...$game_party.actors.size" line.
 

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