- Joined
- May 25, 2014
- Messages
- 11
- Reaction score
- 0
- First Language
- English
- Primarily Uses
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 ...
Any help with this would be massively appreciated. Apologies if I have posted this inside the wrong forum section!
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
Last edited by a moderator:

