I am trying to make a door that when you put a gold key card in it will unlock the door for 5 seconds then it will shut the door.
Also by door I mean a Barrier.
If there are similar ways it would be helpful.
I am trying to make a door that when you put a gold key card in it will unlock the door for 5 seconds then it will shut the door.
Also by door I mean a Barrier.
If there are similar ways it would be helpful.
Vending machine(hidden: cost 1 keycard)
When purchased → Hide Barrier
when purchased → trigger a trigger with five second delay
when triggered → activate barrier
when triggered → grant 1 gold keycard
That doesn’t work. He’s asking for when you HAVE the keycard, not when you buy it
In that case…
When button pressed → Item Checker check for “Gold Keycard”
If you have the gold keycard → Deactiavte barrier
or
use a zone to open barrier (when out of zone reactivate barrier)
When in zone → checker,
Check passes → deactivate,
When exit zone → activate barrier
you don’t buy it. the vending machine’s cost is 1 gold key card, when purchased it opens barrier
Use this setup:
What about time, and giving key card back
Place a zone or button
Step 2: Place a “checker” and wire it to your zone or button
Step 3: Set the settings in the checker to [(object) greater than 0]
Step 4: Place a barrier in the doorway you want the player to access.
Step 5: Wire the checker to the barrier
Step 6: Change the settings in the wire to [(player Pushes button / enters zone) - (Deactivate barrier)]
the last screen shot isnt showing up
And Done! Reply to me if you have questions!
One is more memory efficient, and that’s the checker method for a measly 55 memory.
You want to know how much the vending machine takes up? 1/10 of %1 memory, about 155 memory.
This might be useful at least for someone.