[RMMV] How to add a party member available in Formation?

Discussion in 'Javascript/Plugin Support' started by Super-User, May 6, 2019.

  1. Super-User

    Super-User Villager Member

    Messages:
    21
    Likes Received:
    5
    First Language:
    Chinese
    Primarily Uses:
    RMVX
    Hi, all!

    I have added YEP_PartySystem.js to my game plugins, and would like to add an actor in the formation list, not add in the game party now, just add to the list.

    If I use "Change Party Member: Add XXX" in event, the said actor will be added in the game party immediately.

    So, the question is : How shall I add one more actor as an option in the formation list?
     
    #1
  2. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,640
    Likes Received:
    2,969
    Location:
    Philippines
    First Language:
    Tagalog
    You'd need to edit the formation list code because by default it uses the current party members, because well, the formation menu is for sorting the party anyway.

    Can you also explain what you are trying to do? Like what do you want to achieve by adding the actor to the formation menu but not to the party?
     
    #2
  3. Super-User

    Super-User Villager Member

    Messages:
    21
    Likes Received:
    5
    First Language:
    Chinese
    Primarily Uses:
    RMVX
    solved!

    $gameParty._actors.push(5);

    where 5 is the actor id
     
    Last edited: May 6, 2019
    #3

Share This Page