Is this possible?

Discussion in 'RPG Maker VX Ace' started by mrHaBa, Jun 13, 2018.

  1. mrHaBa

    mrHaBa Warper Member

    Messages:
    1
    Likes Received:
    0
    First Language:
    vn
    Primarily Uses:
    IGM
    Hello there!

    I was wondering there was a simple script call (or anything for that matter) that would allow a conditional branch to check if a party slot is filled or not. For example, I want a event to happen, but only if there are 2 (or more) people in the party. Is this possible?
     
    #1
  2. gstv87

    gstv87 Veteran Veteran

    Messages:
    832
    Likes Received:
    276
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    $game_party.all_members.size > 1
     
    #2
  3. Andar

    Andar Veteran Veteran

    Messages:
    24,709
    Likes Received:
    5,199
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    and if the question is not about the size but about the specific slots, you can use control variable without any script to get the ID of the actor in that slot, which returns zero if the slot is empty.
     
    #3

Share This Page