Party size as a variable

Discussion in 'RPG Maker XP' started by SophieChieko, Feb 24, 2019.

  1. SophieChieko

    SophieChieko Villager Member

    Messages:
    6
    Likes Received:
    1
    Location:
    Touraine
    First Language:
    French
    Primarily Uses:
    RMVXA
    Hello! I need some help, please!

    Is it possible to stock the number of the actors in the party into a variable?

    I would like, into some event, to make a conditional branch and choose "if the variable [001: PartySize == 2]", and begin the battle against the boss if the player have got 2 members in the party, for example.

    Edit: I found the solution!
    Control variables => Selecting my variable PartySize => Set => Other => Party Members
     
    Last edited: Feb 24, 2019
    #1
  2. Teabone

    Teabone Veteran Veteran

    Messages:
    31
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMXP
    I actually am ironically looking for the exact same thing. What exactly was your solution?
     
    #2
  3. DerVVulfman

    DerVVulfman Resident Werewolf Veteran

    Messages:
    309
    Likes Received:
    150
    First Language:
    English
    Primarily Uses:
    RMXP
    The quote was brief, but accurate.

    When you create an event, one of the map event options is "Control Variables" This is where you change or set your RMXP variables.

    Now you can add basic values together, fine enough. But you can also have it read values from the map, from characters, from enemies and more. Look towards the bottom-most option: Other. Within, you can choose "Party Members", and this will allow you to set a variable to the number of party members.
     
    #3
  4. Teabone

    Teabone Veteran Veteran

    Messages:
    31
    Likes Received:
    1
    First Language:
    English
    Primarily Uses:
    RMXP
    Thank so much this is very helpful and worked perfectly.
     
    #4

Share This Page