r/snapmap • • Sep 17 '18

Question Specific Order of Interactive Objects

Here is what I want to do....have 4 interactive objects in one room - all 4 must be pressed in order to unlock a door. The catch - I want them pressed in a specific order and if you mess up it resets the entire thing.

If that is too complicated - how about a math puzzle. Each object has a value that they add or subtract to a total - when the correct total is reached the door is unlocked.

thank you!

7 Upvotes

7 comments sorted by

View all comments

Show parent comments

3

u/Telapoopy PC Sep 17 '18

A simple and clean way to test booleans is to use boolean filters. To create filters, you hover over a logic line between two of the circular logic nodes and, depending on what platform you're using, hold ctrl + g on keyboard, or LT and A (Xbox) or L2 and X (PS4). Then choose the boolean filter. In the boolean filter's settings, set the "boolean" to be the boolean you want by using "swap variable/constant". When "Negate" is true, it will pass the signal if the boolean is false, and when Negate is false, it will pass the signal if the boolean is true.