#Need Help

1 messages · Page 1 of 1 (latest)

empty stratus
#

So Basically I'm Trying To make a horror game, and I'm working on the store all I'm trying to do is after you collect the 2 cans of beans, you can go home Which You Could do with a Subroom, But I'm Trying To Make It True or false If the 3 Beans are Collected than you can go home if not then you have to collect them Any Advice?

trim forge
#

Do you hold the beans or do they disappear once you collect them?

empty stratus
#

It's an interaction volume so it locks

trim forge
#

Ok, locks for everyone or just the one person?

empty stratus
#

Everyone

#

Sorry for the late response btw

trim forge
#

When you try to go home, test if the synced int is “greater or equal” to 3

empty stratus
#

Ok

#

Can you explain it a little bit better bc I don't really know circuits that good lol

trim forge
#

Do you have the lock system done?

empty stratus
#

Um

#

Working on it

trim forge
#

Do you know how to make it?

empty stratus
#

Not Really

#

More of a Builder Than Circuiteer

trim forge
#

There is a port on the side called, “set locked”

empty stratus
#

Yeah I know

trim forge
#

Right underneath there is a bool that says, “false”

#

Set that to say true

#

Then wire the “on use” port on the top right side of the circuit to the “set locked” port

#

This’ll make the lock system

empty stratus
#

Ok

#

Done

trim forge
#

Now place an “int variable”

#

Configure it so it’s synced

#

And rename it to “beans” or whatever

empty stratus
#

Done

trim forge
#

Place an “add” circuit

#

Wire the right side of the variable to one of the ports

#

And make the other port say “1”

#

Put the sum into the left side of the variable

empty stratus
#

Done

trim forge
#

Wire right side of “set locked” to left side of the variable

empty stratus
#

Done

trim forge
#

Ok now duplicate that system 3 times

#

Then for your door, connect the “on use” port to an if, and place a greater or equals chip and wire the red to red and make the top part of the greater or equals wired to your variable and the bottom number say 3, then make your then port on the if go to room

empty stratus
#

Ok

#

Is that it?

trim forge
#

Yeah

empty stratus
#

Thanks