Anything will be helpful, Thank you!
Hey there check out this guide!
Also check out the doors tag, I suggest you search the forums before creating topics.
repeaters…
I was just a small joke, many dont like them because they take up to much memory when you could just use triggers or wire repeaters.
This helps thank you, but it will not load ):
Try this:
How to make the doors (mini-guide lol)
You can use barriers as the doors like this:
Grab a button, make it inactive on game start.
Grab another button, but make sure that it IS active on game start.
Take an item granter, set it’s item grant to “key”.
Then wire the active button to the item granter like this:
Button pressed → Grant item
then, wire the item granter to the inactive button like this:
Item granted → Activate button
Finally, wire the inactive button to the barrier:
Button pressed → Deactiviate barrier
How to make the closet mechanic (mini-guide again)
Ok, make a small room about 2x2 terrain squares.
Place a barrier over it that has collision off, and make the barrier dark.
Place a camera view above, and make it as small as you can.
Now, place a button below it, and make the delay about 2 seconds.
Place a teleporter inside the “closet” you made.
Wire the button to the teleporter like this;
Button pressed → teleport player here
Now, to get the player out of the closet, grab another button and place it in the closet.
place another teleporter outside of the closet.
Now wire the new button onto the new teleporter:
Button pressed → teleport player here
How to make Hide from doors (another mini-guide)
ok, so Hide is the closet entity from Doors, and is designed as an anti-camping mechanism.
Basically, if you stay for too long hiding in a closet, Hide will push you out and deal damage.
To re-create this, all you’ll need is a count-down mechanism, damager, button, and teleporter.
To make the count-down system, grab a counter and set it to the amount of time you want the player to be able to stay within the closet. (eg. 10 seconds)
Set the counter’s target value to zero.
Now grab a repeater with it’s interval to “do it’s thing (lol)” every 1 second.
Wire the repeater to the counter:
Repeater runs task → decrement counter
Now grab the button and wire it to the repeater:
Button pressed → start repeater
Now, when the player presses the button, the timer will start. Now we need the player to teleport out and get damaged when the timer ends.
Grab the teleporter, and place it on the outside of the closet. Now wire the counter to the teleporter:
(Counter) Target reached → teleport player here
Now wire the counter again to the damager (customize the damager to deal however much damage you want):
(Counter) Target reached → Deal damage amount
There you go! If you’re confused, ask me to clarify (this was made in a rush
)
Oh yeah I’ve heard people don’t like them for some reason…
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.