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.

Status Screen: Am I an Idiot?

Okay, I've been re-arranging the status screen, and I realized that when you press right or left, it's supposed to change characters. It doesn't when I playtest or when I run the game's RGSS Player. I also added this at the end of update in Scene_Status
Code:
if Input.trigger?(Input::ALT)
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_Skill.new(@actor_index)
    return
    end
    if Input.trigger?(Input::CTRL)
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_Equip.new(@actor_index)
    end
and it doesn't work either. Am I missing something, or is there some bug in the original code?
 
That's the original code:
Code:
    # If R button was pressed
    if Input.trigger?(Input::R)
      # Play cursor SE
      $game_system.se_play($data_system.cursor_se)
      # To next actor
      @actor_index += 1
      @actor_index %= $game_party.actors.size
      # Switch to different status screen
      $scene = Scene_Status.new(@actor_index)
      return
    end
    # If L button was pressed
    if Input.trigger?(Input::L)
      # Play cursor SE
      $game_system.se_play($data_system.cursor_se)
      # To previous actor
      @actor_index += $game_party.actors.size - 1
      @actor_index %= $game_party.actors.size
      # Switch to different status screen
      $scene = Scene_Status.new(@actor_index)
      return
    end

Replace L and R with LEFT and RIGHT
 

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