The game that I’m making I can’t make the barriers so that if the person has the item it deactivates but instead my game makes the barrier deactivate even if the person doesn’t has the item

Please help me please

You can try to use an invisible vending machine wired to a barrier (Or via channels) :

Vending Machine (item purchased) → barrier (deactivate barrier)

1 Like

Is this going to work, bc I’m making a escape game, like one person tries to stop the others from escaping?

You could make it so it only affects the one player. (I believe)

Would it work bc I only want the Barriers to deactivate when the person has the item

Is your scope set to player on the barrier?

In that case, you can make a trigger loop to constantly checking if a player’s item amount is 1, and deactivate the barrier if the check passes.

1 Like

Wdym by that? Pls explain

Click on the barrier and under the “availability” tab, there should be a section called “active scope”. Set it to player.

Do you mean like if the person has the item and the barrier deactivates without the person pressing a button to deactivate the barrier

The person is deactivating the barrier with a button, correct?
If no, how?

Kinda I think, but the person has to get a item then go to the barrier that needs that item so when the person presses the button it deactivates the barrier and the item that the person used is gone and don’t need it anymore

So have a vending machine next to the barrier. It should be, from top to bottom under featured, “transmit on channel”, the item they need, 1, blank, “no”. Then wire it to the barrier so that:
Item purchased → deactivate barrier.
Also make sure the barrier has an active scope of player, like I explained before.

The person has to find the items, OR, do they have to buy them?

It doesn’t matter. The vending machine takes away the item if they have it.

You did a little title-post…
Next time you post, please ask the question in the post, and then name the post something like “barrier help”.
Thanks!

1 Like