I'm trying to add a way so that when you view a character's status window (the one that shows all the stats) after selecting it from the base menu so that you can switch in between the other party members status windows by pressing LEFT or RIGHT. Are there any scripts out there that can do that?
Status Window and adding next feature
RGSSx Script SupportNow there is!
The script removes and replaces the default L and R button handling with LEFT and RIGHT inputs.
#==============================================================================# ** Scene_Status#==============================================================================class Scene_Status < Scene_MenuBase #-------------------------------------------------------------------------- # * ALIAS - Start Processing #-------------------------------------------------------------------------- unless method_defined?🙂status_0LL22NyT_ss_start) alias_method🙂status_0LL22NyT_ss_start, :start) end def start(*args, &block) status_0LL22NyT_ss_start(*args, &block) @status_window.delete_handler🙂pagedown) @status_window.delete_handler🙂pageup) @status_window.set_handler🙂right, method🙂next_actor)) @status_window.set_handler🙂left, method🙂prev_actor)) endend # Scene_Status#==============================================================================# ** Window_Status#==============================================================================class Window_Status < Window_Selectable #-------------------------------------------------------------------------- # * ALIAS - Handle Processing #-------------------------------------------------------------------------- unless method_defined?🙂status_CHJdiJ3f_ws_process_handling) alias_method🙂status_CHJdiJ3f_ws_process_handling, 😛rocess_handling) end def process_handling(*args, &block) status_CHJdiJ3f_ws_process_handling(*args, &block) return process_right if handle?🙂right) && Input.trigger?🙂RIGHT) return process_left if handle?🙂left) && Input.trigger?🙂LEFT) end #-------------------------------------------------------------------------- # * NEW - Process Right #-------------------------------------------------------------------------- def process_right Sound.play_cursor Input.update deactivate call_handler🙂right) end #-------------------------------------------------------------------------- # * NEW - Process Left #-------------------------------------------------------------------------- def process_left Sound.play_cursor Input.update deactivate call_handler🙂left) end #-------------------------------------------------------------------------- # * NEW - Delete Handler # symbol : Corresponding symbol #-------------------------------------------------------------------------- def delete_handler(symbol) @handler.delete(symbol) if handle?(symbol) end end # Window_Status
Excellent! Thank you!
Original thread: https://forums.rpgmakerweb.com/threads/status-window-and-adding-next-feature.42660/