RPG Maker Forums

Hi again. I've recently been trying to put together a Party Selection scene that will allow the player to recruit three additional actors to their team before going on 'Missions', but I have come to a slight (Massive) stumbling block. The scene is working (if not slightly buggy) and currently the player is able to select from a pool of four actors, but in time I will want to have far more characters available (The entire crew of the players Starship).

Here is a .png image of my menu ...

What I'm currently trying to achieve is to lock away the 'Manley' actor by either graying him out or hiding him completely in the menu scene until he is found/unlocked (by script call) but I have no idea how I would go about doing that.

Here is my script in it's current state. Please be gentle this is my first real attempt at scripting something into my game ...

class AwayTeamWindow < Scene_IzzyMenuBase2    def start    super    create_command_window    create_status_window  end  #===============================================================================#===============================================================================    def create_command_window        @command_window = CmdWin2.new    @command_window.set_handler:)zack,    method:)command_zack))    @command_window.set_handler:)nicola,    method:)command_nicola))    @command_window.set_handler:)jones,    method:)command_jones))    @command_window.set_handler:)manley,    method:)command_manley))    @command_window.set_handler:)clear,    method:)command_clear))    @command_window.set_handler:)cancel, method:)return_scene))      end    def create_status_window      @status_window = Window_MenuStatus.new(@command_window.width, 0)  end    def command_zack      $game_party.add_actor(11)      @command_window.activate      SceneManager.goto(AwayTeamWindow)      $game_party.remove_actor($game_party.members[4].instance_variable_get:)@actor_id))end    def command_nicola      $game_party.add_actor(12)      @command_window.activate      SceneManager.goto(AwayTeamWindow)      $game_party.remove_actor($game_party.members[4].instance_variable_get:)@actor_id))      end    def command_jones      $game_party.add_actor(17)      @command_window.activate      SceneManager.goto(AwayTeamWindow)      $game_party.remove_actor($game_party.members[4].instance_variable_get:)@actor_id))          end     def command_manley      $game_party.add_actor(18)      @command_window.activate      SceneManager.goto(AwayTeamWindow)      $game_party.remove_actor($game_party.members[4].instance_variable_get:)@actor_id))  end     def command_clear      $game_party.remove_actor($game_party.members[1].instance_variable_get:)@actor_id))      @command_window.activate      SceneManager.goto(AwayTeamWindow)      $game_party.remove_actor($game_party.members[4].instance_variable_get:)@actor_id))    end    #===============================================================================#===============================================================================      class CmdWin2 < Window_Command  def initialize    super(0, 0)  end    def make_command_list    main  end    def window_width    return 180  end    def window_height    return 170  end    def main    add_command("Zack",   :zack)    add_command("Nicola",   :nicola)    add_command("Jones",   :jones)    add_command("Manley",   :manley)    add_command("Remove Member",   :clear)    add_command("Confirm",   :cancel)  endendend
Any help with this would be massively appreciated. Apologies if I have posted this inside the wrong forum section!

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top