Passing Requirement

Status
Not open for further replies.

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
FIXED
 
Last edited by a moderator:

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,351
Reaction score
8,532
First Language
English
Primarily Uses
RMMV
I've moved this thread to Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.



You'll want to use Conditional Branches to check for the party members. You can either increase a variable by 1 every time a party member is added, and then have the Conditional Branch check to see if that variable is equal to 3. Or you could use Conditional Branches to check and see if each Actor is in the party (2nd page of Conditional Branch options). I think this would be more complicated than using a variable however.
 

LxCharon

I'm the best hyperbole writer in the world.
Veteran
Joined
Jun 17, 2014
Messages
137
Reaction score
139
First Language
English
Primarily Uses
RMMV
While I don't think you posted this question in the right spot (one of the mods may swing by to let you know) The answer to your question depends on wether you are looking to have 3 specific people in the party or just 3 people in the party. 


If it's just 3 people the easiest is to put an event on the exit that won't let you leave unless a chosen variable is 3 or above. I'd probably also add a message to let the player know why they aren't allowed to leave. and then everytime a person is added to the party make the event that is adding people to the party increase that same chosen variable by 1. So once 3 people have joined the variable will be at 3 and the exit will let the player out. 


If it's specific people create a branch on the exit event that will only let them out if they have those specific people in the party. There is an option to only do something if a specific person in the group. Later on today (if someone doesn't beat me to it while I'm at work) I can take some screen shots to show you the set up the events in both instances. 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
simpler way, under the condition that you don' use a party script:


Use control variable to load the ID of the third party member.


Then use a conditional branch to check if that number is greater than zero.


If the slot is empty, it returns zero - if there is an actor, it returns the ID of that actor.


And since the engine fills up from position one, if you get an actor in slot three then you have three party members (or more)
 

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
I've moved this thread to Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.



You'll want to use Conditional Branches to check for the party members. You can either increase a variable by 1 every time a party member is added, and then have the Conditional Branch check to see if that variable is equal to 3. Or you could use Conditional Branches to check and see if each Actor is in the party (2nd page of Conditional Branch options). I think this would be more complicated than using a variable however.
Hello,


i don't know why but i did after every party member join add virable and then i did the  Conditional Branch


and it didn't worked..
 

HopeFragment

H'witch Nerd
Veteran
Joined
Mar 15, 2014
Messages
121
Reaction score
11
First Language
English
Primarily Uses
RMVXA
Post screenshots of your event pages so we can see what you did wrong.
 

HopeFragment

H'witch Nerd
Veteran
Joined
Mar 15, 2014
Messages
121
Reaction score
11
First Language
English
Primarily Uses
RMVXA
I can't figure out what's wrong by that alone, can you also show the event pages for when the party members join? (Where you put the add variable)
 
Last edited by a moderator:

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
I can't figure out what's wrong by that alone, can you also show the event pages for when the party members join? (Where you put the add variable)
Yes just a second
 

HopeFragment

H'witch Nerd
Veteran
Joined
Mar 15, 2014
Messages
121
Reaction score
11
First Language
English
Primarily Uses
RMVXA
I meant like the event page controlling the event where your party members join. Like the first screenshot you posted, except it's the scenes where those two party members join, so I can see where you added that variable. 


Either way, what I'm thinking is you need to replay your game from the beginning, did you add the variables to the scenes where they joined and loaded your existing file? That won't work because when you played through the game, those variables weren't added up at the time. This is just a guess though. Try playing your game from the beginning in a totally new file and then see if it works.
 

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
I meant like the event page controlling the event where your party members join. Like the first screenshot you posted, except it's the scenes where those two party members join, so I can see where you added that variable. 


Either way, what I'm thinking is you need to replay your game from the beginning, did you add the variables to the scenes where they joined and loaded your existing file? That won't work because when you played through the game, those variables weren't added up at the time. This is just a guess though. Try playing your game from the beginning in a totally new file and then see if it works.
ok!


Thanks!
 

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
I meant like the event page controlling the event where your party members join. Like the first screenshot you posted, except it's the scenes where those two party members join, so I can see where you added that variable. 


Either way, what I'm thinking is you need to replay your game from the beginning, did you add the variables to the scenes where they joined and loaded your existing file? That won't work because when you played through the game, those variables weren't added up at the time. This is just a guess though. Try playing your game from the beginning in a totally new file and then see if it works.
still not works..
 

HopeFragment

H'witch Nerd
Veteran
Joined
Mar 15, 2014
Messages
121
Reaction score
11
First Language
English
Primarily Uses
RMVXA
Just so you know, you're not supposed to double post here, edit your previous post next time.


I just made a dummy version of what you're trying to do in my own game and it worked fine. Here's what I did, try to copy what I did.





First, this is the event where the first party member joins you. Of course, yours won't be very simple like this, I just made it really quick. Just make sure you have that Control Variable +=1 there.





Here's the second party member joining. At this point, the variable should now be two.





And here is the event that prevents you from moving on if you don't have the two party members but will let you go if the variable is exactly two.





Make sure the conditional branch is set up like this.^


If this doesn't work, you need to give more information.
 
Last edited by a moderator:

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
I did exactly like you.. stil doesn't works..
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
@mars2004 please do not quote entire posts for your answer, especially not if they contain a lot of pictures - that makes a topic difficult to read. Use the @username convention instead, like I did just now (or you don't even need that for simple answers to a post directly above, only for pointing out something directly.


That said, I have three suggestions:


1) place a show text with the textcode showing the variable before the conditional branch to see what number really is in there at the moment.


2) make sure that nothing else (especially not plugins) change the same variable


3) don't make the conditional branch check for equal, that can fail for a lot of reasons (for example if the number is only 1)


Make it a comparison "less than three" instead.
 

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
How do i do textcode shows how many there are in the variable?
 

mars2004

Veteran
Veteran
Joined
Jun 29, 2016
Messages
42
Reaction score
1
First Language
English
Primarily Uses
would you like a video?
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,351
Reaction score
8,532
First Language
English
Primarily Uses
RMMV
@mars2004 , please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


If you type \V[n] in the Show Text editor, and replace n with the number of the variable you want to know, it will show you the value.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
@mars2004


Please do not edit your original topics!!!!!!!!


You deleting all content from your original post made this topic absolutely useless and unreadable for anyone else.


Please do not do that again in the future - we want to keep the completed topics so that they can be searched by others and help them as well.


Closing, as there is no point in this topic anymore
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top