Skip Character Selection in Menu when Open Skills/Equips

Discussion in 'RGSS3 Script Requests' started by Natakai, Jul 9, 2019.

  1. Natakai

    Natakai Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    French
    Hi,

    I'd like to know if there're a way by editing the scripts to just open the Skills & Equips of the first character in the team without having to select him in the Menu.

    Currently :
    Open menu > Skills/Equip > Select Character > Skills/Equipments
    I'm looking for :
    Open menu > Skills/Equip > Skills/Equipments (of the first character)
     
    #1
  2. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    12,304
    Likes Received:
    12,516
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    Only with a script.

    I've moved this thread to Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

     
    #2
  3. gstv87

    gstv87 Veteran Veteran

    Messages:
    1,798
    Likes Received:
    824
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    Code:
    class Scene_Menu < Scene_MenuBase
      def command_equip
        $game_party.menu_actor = $game_party.members[0]
        SceneManager.call(Scene_Equip)
      end
    end
    
    I *believe* that alone should do it.
    that's what I use myself, for the same feature.
    I don't know if you'd want to disable switching actors in the skill scene itself, and I don't have the code for that right now, but that's doable.
     
    #3
  4. Natakai

    Natakai Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    French
    It doesn't seems to work or I just don't know how to use it.
    Yeah I'm looking for a way to disable the scene where you have to choose an actor to access to his skills. Instead of that, it'd open straight the skills of the first actor.
     
    #4
  5. gstv87

    gstv87 Veteran Veteran

    Messages:
    1,798
    Likes Received:
    824
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    make sure you don't have any plugins that overwrite that class or that method.
    do a search within the code for "command_equip"... if anything pops up other than that block, then it's being redirected. You'd have to consult with that script's author.
     
    #5
    Natakai likes this.
  6. Natakai

    Natakai Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    French
    Alright, thank you.
     
    #6

Share This Page