I have a segment where the player meets their party, and i want to make it so that they have to talk to each member before they can get the game rolling proper. is there a way to use more than two switches to control that, or to use the two for all seven things? thanks in advance!
Is it possible to use more than two switches to determine if something is avaliable?
RPG Maker 2000/2003 SupportYou usually make a Switch for every interaction, and then another single Switch like "talked to everyone". Every time, you talk to a member, you would add some Eventing that looks like this:
Code:
IF Switch talked to member 1 is ON
IF Switch talked to member 2 is ON
IF Switch talked to member 3 is ON
...
Set Switch "talked to everyone" to ON
END IF
END IF
END IF
Alternatively, if you are tracking a lot of switches you can also use a variable on the side to count the number of switches activated:
Code:
Conditional Branch: Switch "talked to member 1" = OFF
Control Switches: "talked to member 1" = ON
Control Variables: "members talked to" ADD 1
Branch End
to give a more general answer:
while the conditions of events are limited, the conditional branches are not.
and the only time when that difference needs to be adressed is if you want an event sprite to change on it. If the event always stays the same it would not matter wheter you use conditional branches or conditions.
however if you want to change the sprite with the event page, then you either need to seolect which conditions should be the important ones or use one of the tricks above to combine conditions before the event is needed.
while the conditions of events are limited, the conditional branches are not.
and the only time when that difference needs to be adressed is if you want an event sprite to change on it. If the event always stays the same it would not matter wheter you use conditional branches or conditions.
however if you want to change the sprite with the event page, then you either need to seolect which conditions should be the important ones or use one of the tricks above to combine conditions before the event is needed.
all of the replies talk about conditional branches, but i cant find them in event command list 🙁
am I looking in the wrong place or do i just have molerat vision
add 1 to a variable after each interaction, with each interaction itself checking for a self switch within it's own event to not add 1 to that variable twice.
check for variable > X for the main validation.
I don't have the maker installed right now, there may be a non-zero chance it was called "Fork Condition" too. If memory served right it was somewhere on the third page.
Just to avoid confusion, RM2k3 does not support Self-Switches, but regular switches will do just as well here.
you can do a logical bit operation and check by bit, which would be both methods, combined.
all variables can be translated to binary, so at 7 interactions done that's a variable put to (2^8)-1, or 255.
Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-use-more-than-two-switches-to-determine-if-something-is-avaliable.167756/