<SOLVED> Can Character Formation Affect Events?

Discussion in 'RPG Maker 2000/2003' started by Mugmun, Jan 12, 2018.

  1. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    Hi, I'm new here, and I just downloaded RPG Maker 2003 a week ago, so there's probably a lot I still don't know.

    I was wondering if I could make events happen if a party formation is in a specific way.

    Ex: You can only get through to a new area if X is on the map.
    Kinda like in Super Mario Odyssey where you can only get through certain doors with certain outfits on.

    I was hoping to make places like "gamers only clubs" where you can only get in if you are a certain character on the map.

    Thanks in advance,
    Me
     
    #1
  2. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,598
    Likes Received:
    10,511
    First Language:
    English
    Primarily Uses:
    RMVXA
    Use the Conditional Branch on tab 3 of the Event Command Menu
    Select tab 2
    Select 'Actor' and then the particular actor needed, "is in the party"
    Do the stuff that gets them in the club.
    In the 'Else' branch, do the stuff (e.g. "Clear off! Members only!") if the actor is not present.
     
    #2
    The Stranger likes this.
  3. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    That's makes sense, but what I want to know is if I can make these interactions formation specific.

    Ex: if organized as A, B, C, no entry - if organized as B, A, C, entry allowed
     
    #3
  4. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,598
    Likes Received:
    10,511
    First Language:
    English
    Primarily Uses:
    RMVXA
    I know how to do that in Ace with script calls, but not how to do it in 2k3, as I have never used it. (For my first reply, I had to open up my copy of the engine and look to see where everything was.)

    Just to be more precise - is it that you want Actor B to be the party leader, or do the others also have to be in a specific order? If it's just B as party leader, that will almost certainly be easier to achieve.
     
    #4
  5. CleanWater

    CleanWater Independent Developer Veteran

    Messages:
    638
    Likes Received:
    737
    Location:
    Brazil
    First Language:
    PT-BR
    Primarily Uses:
    Other
    It's possible to achieve, but you will have to check a lot of variables to do so.

    Basically, you will have to save each character party position on each variable for that position, and check them all separately for this. Plus, you will have to create your own system that address each character in said position.
     
    #5
    LordBlueRouge likes this.
  6. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    All I really want to do is detect who the party leader is, not so much the exact orginazation of the party.
     
    #6
  7. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    I was hoping to get info on how to achieve this...
     
    #7
  8. kaine

    kaine Veteran Veteran

    Messages:
    128
    Likes Received:
    68
    First Language:
    Italian
    Primarily Uses:
    N/A
  9. LordBlueRouge

    LordBlueRouge Villager Member

    Messages:
    13
    Likes Received:
    8
    #9
  10. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    This is works pretty well.
    From what I understand, each variable is set to a specific party member, and not a party position.
    Really my only complaint is that setting the formation manually (through the menu) doesn't work, but this isn't that much of a problem.
    Can I please get the code for this so I can add this system to my own game? (I can give you credit if you would like.)
     
    #10
    LordBlueRouge likes this.
  11. kaine

    kaine Veteran Veteran

    Messages:
    128
    Likes Received:
    68
    First Language:
    Italian
    Primarily Uses:
    N/A
    Yes, obviously if you use this method, you have to disable formation from the menu, and use a custom group change.

    Of course!
     
    #11
    Mugmun and LordBlueRouge like this.
  12. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    Great! Thank you very much!
     
    #12
  13. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    Can you please share that code that you used to detect the party leader?
     
    #13
  14. kaine

    kaine Veteran Veteran

    Messages:
    128
    Likes Received:
    68
    First Language:
    Italian
    Primarily Uses:
    N/A
    O___o"
    Is already present in the demo!
    The condition if hero 1 = XX <- (is the character's id)
    Check which is the first party member (the leader)

    You find it in the events/people in front of the clubs
     
    #14
  15. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    oh wait, sorry, I didn't know that you could open downloaded projects with RPG Maker. -_-'

    Thank you so much for the help!

    Do you want credit for letting me use the code?
     
    Last edited: Jan 16, 2018
    #15
  16. kaine

    kaine Veteran Veteran

    Messages:
    128
    Likes Received:
    68
    First Language:
    Italian
    Primarily Uses:
    N/A
    do you, it's the same for me.
     
    #16
  17. Mugmun

    Mugmun Villager Member

    Messages:
    9
    Likes Received:
    1
    First Language:
    english
    Primarily Uses:
    RM2k3
    thanks again broskintini
     
    #17

Share This Page