<SOLVED> Can Character Formation Affect Events?

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
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
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,718
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.
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
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
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,718
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.
 

CleanWater

Independent Developer
Veteran
Joined
Apr 8, 2017
Messages
637
Reaction score
739
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.
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
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.
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
1
First Language
english
Primarily Uses
RM2k3
I was hoping to get info on how to achieve this...
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
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.)
 

kaine

Veteran
Veteran
Joined
Sep 29, 2015
Messages
155
Reaction score
78
First Language
Italian
Primarily Uses
RM2k3
Really my only complaint is that setting the formation manually (through the menu) doesn't work
Yes, obviously if you use this method, you have to disable formation from the menu, and use a custom group change.

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.)
Of course!
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
1
First Language
english
Primarily Uses
RM2k3
Great! Thank you very much!
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
1
First Language
english
Primarily Uses
RM2k3
Can you please share that code that you used to detect the party leader?
 

kaine

Veteran
Veteran
Joined
Sep 29, 2015
Messages
155
Reaction score
78
First Language
Italian
Primarily Uses
RM2k3
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
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
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:

kaine

Veteran
Veteran
Joined
Sep 29, 2015
Messages
155
Reaction score
78
First Language
Italian
Primarily Uses
RM2k3
do you, it's the same for me.
 

Mugmun

Villager
Member
Joined
Jan 12, 2018
Messages
9
Reaction score
1
First Language
english
Primarily Uses
RM2k3
thanks again broskintini
 

Latest Threads

Latest Posts

Latest Profile Posts

Since I started in this world of make games, It's hard for me to enjoy playing a game. It's like, coding and make it work, sounds like I'm playing and have fun o_O
Not sure if it's true (and I won't judge or blame anyone if it is, really), but I heard from confident sources that you guys (and girls) really really like to
How is this new year for everyone? Hope you are well. Still deep in Covid in the US. Its like a vampire and refuses to die with even more strains. I need some holy water to kill it with.
in my game, what's known as HeadSpace is combining with the real world...
oh looks like the forums updated while I wasn't looking and we can put a banner now. Neat!

Forum statistics

Threads
107,670
Messages
1,031,300
Members
139,789
Latest member
TransDiv
Top